Thread:Project:Support desk/Will an Array solve my problem?

within several pages, there are around five codes. I need to keep track of those codes, and display them together in one place. The codes could be used on multiple pages. If I was straight coding this, it would seem I would create an array, add the code values to that array from each page during page creation (ignoring duplicates). Then create a page that simply prints to the screen, all stored codes from the array.

being super unfamiliar with wikitext - I have no idea if this will work in theory. before I spend hours trying to figure out how to build and array and populate it - can someone just give me a "yes that will work", or a "no try again". Thanks!