Template:Arrayprint

Approximate recreation of the $($#arrayprint:}} parser function. It takes the following parameters:


 * key is the name of the array to print
 * delimiter is the delimiter between the elements of the array (defaults to )
 * subject is a formatting style applied to each element; it accepts wiki links, templates, parser functions, etc.
 * Note that due to the limitations and idiosyncrasies of wikitext, this part works very differently than the original parser function does:
 * There is no pattern parameter, the placeholder for the array element is instead always.
 * The subject is not defined in the template parameter, but on a separate page: arrayprint/subject definitions. There, subjects are assigned an identifier, which in turn is what is entered as a parameter value in the template call.
 * Therefore, it is most often necessary to define a new custom subject in arrayprint/subject definitions and set the subject parameter to the identifier of that new subject.

See arraydefine for a recreation of the {#arraydefine:}} parser function.

Examples: