Difference between revisions of "Template:Icons"

From RimWorld Wiki
Jump to navigation Jump to search
(highlight: variable 4 changed to 2)
Line 1: Line 1:
 
   {{#vardefine: delta    | {{#expr: {{{2|0}}} - {{{3|0}}} }}
 
   {{#vardefine: delta    | {{#expr: {{{2|0}}} - {{{3|0}}} }}
}}{{#vardefine: highlight | {{#expr: {{{4|0}}} - {{{3|0}}} }}
+
}}{{#vardefine: highlight | {{#expr: {{{2|0}}} - {{{3|0}}} }}
 
}}{{#ifexpr: {{#var: delta}} >= 1 | {{Icon Small | {{{1}}} }}
 
}}{{#ifexpr: {{#var: delta}} >= 1 | {{Icon Small | {{{1}}} }}
 
}}{{#ifexpr: {{#var: highlight}} = 1 | </em>
 
}}{{#ifexpr: {{#var: highlight}} = 1 | </em>

Revision as of 16:53, 25 September 2016