Difference between revisions of "Template:Repeat/doc"
Dinoguy1000 (talk | contribs) (update documentation) |
Dinoguy1000 (talk | contribs) (may as well add an example) |
||
Line 8: | Line 8: | ||
*''text'' is the text or code to be repeated. | *''text'' is the text or code to be repeated. | ||
+ | *''number'' is the number of times to repeat the text or code. | ||
− | + | For example, the code <code><nowiki>{{Repeat|[[File:Star.svg]]|7}}</nowiki></code> results in {{Repeat|[[File:Star.svg]]|7}} | |
<includeonly> | <includeonly> |
Revision as of 06:16, 5 January 2012
This is a documentation subpage for Template:Repeat. It contains usage information, categories and other content that is not part of the original template page. |
{{Repeat}} is used to repeat a given bit of text or code a specified number of times.
Usage
{{Repeat|text|number}}
- text is the text or code to be repeated.
- number is the number of times to repeat the text or code.
For example, the code {{Repeat|[[File:Star.svg]]|7}}
results in