Difference between revisions of "Template:Stat Modifier/Row"

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<!-- This template serves to create rows for Drugs/Tags, but could possibly be used elsewhere to query stats with offsets or factors. If the input parameters result in no data, then this template returns nothing, conveniently only creating the row if it would contain data. -->
 
<!-- This template serves to create rows for Drugs/Tags, but could possibly be used elsewhere to query stats with offsets or factors. If the input parameters result in no data, then this template returns nothing, conveniently only creating the row if it would contain data. -->
 
<onlyinclude>
 
<onlyinclude>
   {{#vardefine: name | {{{1|Gold}}}
+
   {{#vardefine: name     | {{{1|Gold}}}
 
}}{{#vardefine: property | {{{2|Beauty}}}
 
}}{{#vardefine: property | {{{2|Beauty}}}
 
}}{{#vardefine: factor  | {{Q| {{#var:name}} | {{#var:property}} Factor}}
 
}}{{#vardefine: factor  | {{Q| {{#var:name}} | {{#var:property}} Factor}}
Line 13: Line 13:
 
{{!}}-
 
{{!}}-
 
{{Tag/HR}} {{#var: property}}
 
{{Tag/HR}} {{#var: property}}
{{!}}
+
{{!}}         {{Format/Equation Table | {{#var:name}} | {{#var: property}}   }}  
{{!}}  {{Stat Entry/Factor| {{#var:factor}} }}
 
{{!}} 
 
{{!}}  {{Stat Entry/Offset| {{#var:offset}} }}
 
 
|}}</onlyinclude>
 
|}}</onlyinclude>
 
|}
 
|}

Revision as of 22:33, 10 September 2016



Beauty ×4 +20