This is the template test cases page for the sandbox of Template:Loop. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Code | Main output | Sandbox output |
---|---|---|
{{loop|4|n}}
|
nnnn | nnnn |
{{loop|8|test}}
|
testtesttesttesttesttesttesttest | testtesttesttesttesttesttesttest |
{{#expr:2{{loop|50|*2}}}}
|
2.2517998136852E+15 | 2.2517998136852E+15 |
{{loop|9|2==}}
|
========= | ========= |
{{loop|9|{{=}}}}
|
========= | ========= |
{{loop|3|{{CURRENTYEAR}}}}
|
202420242024 | 202420242024 |
{{loop|3|ab}}
|
ababab | ababab |
{{loop|3| ab }}
|
ababab | ababab |
{{loop| 3 |ab}}
|
ababab | ababab |
{{loop| 3 | ab }}
|
ababab | ababab |