Template:Arrayadd

Adds a convenience function to the MediaWiki Arrays extension.

Add a single item to an array. (The built-in functions include one for merging two arrays, but not one for adding a single item to an array.)

Parameters
Anonymous parameters, both must be non-empty:
 * 1) the name of an array (unset, or defined with  {{ #arraydefine)
 * 2) the value to be added to the array

Example
Using:
 *  
 *  
 *  

Displays: