Difference between revisions of "Template:Stat Entry/Offset"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{#if:{{{2|}}}|[[{{#if:1|{{{1}}}}} Offset::{{{2}}}|{{#ifexpr:{{{2}}}<0|&minus;{{formatnum:{{#expr:-1*{{{2}}}}}}}|+{{formatnum:{{{2}}}}}}}]]}}
+
{{#ifeq:{{{1|}}}-|-||{{#ifexpr:{{{1}}}<0|&minus;{{formatnum:{{#expr:-1*{{{1}}}}}}}|+{{formatnum:{{{1}}}}}}}}}

Revision as of 19:26, 26 February 2015