Template:Loop/doc

This template is used to produce a simple loop. It is based on Module:String, and there is no limit to the number of iterations it can perform.

Usage
If string contains an equals sign, you must put "|2=string" instead of "|string".

Examples

 * nnnn
 * nnnn


 * testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
 * testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest



When the string being replicated includes "=", we have to precede the second parameter with "2=", or use =.

or:


 * 202420242024
 * 202420242024

* If string contains an equals sign, you must put '|2=string' instead of '|string'.

Template data
{       "description": "The template is used to produce a simple loop of repeated strings.", "params": { "1": {                       "label": "Number", "description": "Number of times to repeat", "type": "number", "required": true },               "2": {                        "label": "String", "description": "The string to be repeated. Use = if the string contains an equals sign.", "type": "string", "required": true }       } }