Template:CollectStrings: Difference between revisions

From OIAr
Jump to navigation Jump to search
(template added)
 
(No difference)

Latest revision as of 07:58, 3 April 2013

Template documentation

This template simply adds a piece of text to array S, with commas as delimiter. Before (repeatedly) calling this template, you should prepare array S by creating it:

{{#arraydefine:S}}

The template can be called from inside an #ask, like this:

{{#ask:[[Working Area::+]]|?Working Area|format=valuerank|min=0|liststyle=none|template=CollectStrings}}

Afterwards, array S will contain all values from the #ask, ready to sort, slice and dice.