Template:CollectStrings/doc

From OIAr
Jump to navigation Jump to search

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.