Difference between revisions of "Template:Icons"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
   {{#vardefine: delta | {{#expr: {{{2|0}}} - {{{3|0}}} }}
 
   {{#vardefine: delta | {{#expr: {{{2|0}}} - {{{3|0}}} }}
}}{{#ifexpr: {{#var: delta}} >= 1 | {{Icon Small {{!}} {{{1}}} }}
+
}}{{#ifexpr: {{#var: delta}} >= 1 | {{Icon Small | {{{1}}} }}
}}{{#ifexpr: {{#var: delta}} >= 2 | {{Icon Small {{!}} {{{1}}} }}
+
}}{{#ifexpr: {{#var: delta}} >= 2 | {{Icon Small | {{{1}}} }}
}}{{#ifexpr: {{#var: delta}} >= 3 | {{Icon Small {{!}} {{{1}}} }}
+
}}{{#ifexpr: {{#var: delta}} >= 3 | {{Icon Small | {{{1}}} }}
}}{{#ifexpr: {{#var: delta}} >= 4 | {{Icon Small {{!}} {{{1}}} }}
+
}}{{#ifexpr: {{#var: delta}} >= 4 | {{Icon Small | {{{1}}} }}
}}{{#ifexpr: {{#var: delta}} >= 5 | {{Icon Small {{!}} {{{1}}} }}
+
}}{{#ifexpr: {{#var: delta}} >= 5 | {{Icon Small | {{{1}}} }}
 
}}
 
}}

Revision as of 16:16, 27 April 2015