Difference between revisions of "Template:Format/Equation"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with " {{#vardefine: name | {{{1|Wood}}} }}{{#vardefine: property | {{{2|Work To Make}}} }}{{#vardefine: base | {{Q| {{#var:name}} | {{#var:property}} Base}} }}{{#vardefine...")
 
m (Changed Category)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
<noinclude>
 +
{{Modal mark for deletion}}
 +
</noinclude>
 
   {{#vardefine: name    | {{{1|Wood}}}
 
   {{#vardefine: name    | {{{1|Wood}}}
 
}}{{#vardefine: property | {{{2|Work To Make}}}
 
}}{{#vardefine: property | {{{2|Work To Make}}}
}}{{#vardefine: base    | {{Q| {{#var:name}} | {{#var:property}} Base}}
+
}}{{#vardefine: base    | {{{3|}}}
 
}}{{#vardefine: factor  | {{Q| {{#var:name}} | {{#var:property}} Factor}}
 
}}{{#vardefine: factor  | {{Q| {{#var:name}} | {{#var:property}} Factor}}
 
}}{{#vardefine: offset  | {{Q| {{#var:name}} | {{#var:property}} Offset}}
 
}}{{#vardefine: offset  | {{Q| {{#var:name}} | {{#var:property}} Offset}}
 
}}
 
}}
{{Format/Value| {{#var:base}} }}{{Stat Entry/Factor| {{#var:factor}} }}{{Stat Entry/Offset| {{#var:offset}} }}
+
{{#if: {{#var:base}} | {{Format/Value| {{#var:base}} }} }}{{Stat Entry/Factor| {{#var:factor}} }}{{Stat Entry/Offset| {{#var:offset}} }}

Latest revision as of 04:49, 4 June 2020


×0.7