Template:Loop

From Archon Arcana - The KeyForge Wiki
Revision as of 20:19, 5 January 2007 by imported>Polonium (Created page with '{{#ifeq:{{#expr:({{{1}}}*2-000)>000}}|1|{{{2}}}}}{{#ifeq:{{#expr:({{{1}}}*2-001)>001}}|1|{{{2}}}}}{{#ifeq:{{#expr:({{{1}}}*2-002)>002}}|1|{{{2}}}}}{{#ifeq:{{#expr:(...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used to produce a simple loop that can repeat up to 150 times. It is not a real loop, it works by conditionally repeating the string. It is a simple version of Template:Tl. To use it, enter:
{{loop|times to repeat|string}}
If string contains an equals sign, you must put "|2=string" instead of "|string".