Difference between revisions of "Template:X"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{#ifexpr:{{{2|1}}}|{{{1|}}}{{X|{{{1|}}}|{{#expr:{{{2|1}}}-1}}}}}}</onlyinclude><noinclude><br> Displays an item x times == Usage == *Give the item you want to di...")
 
m (added loop buddy)
Line 1: Line 1:
<onlyinclude>{{#ifexpr:{{{2|1}}}|{{{1|}}}{{X|{{{1|}}}|{{#expr:{{{2|1}}}-1}}}}}}</onlyinclude><noinclude><br>
+
<onlyinclude>{{#ifexpr:{{{2|1}}}|{{{1|}}}{{Xx|{{{1|}}}|{{#expr:{{{2|1}}}-1}}}}}}</onlyinclude><noinclude><br>
 
Displays an item x times
 
Displays an item x times
 
== Usage ==
 
== Usage ==

Revision as of 10:36, 16 October 2016


Displays an item x times

Usage

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

Examples

Example
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

Template loop detected: Template:X