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
When the string being replicated includes "=", we have to precede the second parameter with "2=", or use =.

Surrounding whitespace is always stripped; you must use instead to preserve it.

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 }       } }