Difference between revisions of "Template:X"

From RimWorld Wiki
Jump to navigation Jump to search
(different approach)
(improved documentation)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>Displays an item x times<br>
 
''It is limited to displaying item a 100 times, for higher amount use [[Template:Xx]]''
 
== Usage ==
 
*Give the item you want to display multiple times
 
*Give the amount of times you want it to be displayed
 
 
<pre>
 
{{X|item|x times}}
 
</pre>
 
 
== Examples ==
 
 
===== Example  =====
 
<pre>When you think the game hate you: {{X|raid, solar flare, mental breakdown|3}}</pre>
 
When you think the game hate you: {{X|'''raid''', solar flare, mental breakdown, |3}}
 
 
 
</noinclude>
 
 
<onlyinclude>{{#switch: {{{2|1}}}
 
<onlyinclude>{{#switch: {{{2|1}}}
 
| 1 = {{{1|}}}
 
| 1 = {{{1|}}}
Line 118: Line 100:
 
| 99 = {{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{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{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}{{{1|}}}
}}
+
}}</onlyinclude>
</onlyinclude>
+
<noinclude>{{Documentation}}</noinclude>

Latest revision as of 23:38, 5 June 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

Description[edit]

Displays an item x times
It is limited to displaying item a 100 times, for higher amount use Template:Xx

Usage[edit]

  • Give the item you want to display multiple times
  • Give the amount of times you want it to be displayed
{{X|item|x times}}

Examples[edit]

When you think the game hate you: {{X|raid, solar flare, mental breakdown|3}}

When you think the game hate you: raid, solar flare, mental breakdown, raid, solar flare, mental breakdown, raid, solar flare, mental breakdown,