Difference between revisions of "Template:Stat Modifier/Row"
Jump to navigation
Jump to search
Noob hoarder (talk | contribs) (second attempt. Also fixing the property define i had used for testing.) |
Noob hoarder (talk | contribs) (one more for luck) |
||
Line 1: | Line 1: | ||
<noinclude><!-- 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. --></noinclude><onlyinclude>{{#vardefine: name | {{{1|Gold}}} | <noinclude><!-- 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. --></noinclude><onlyinclude>{{#vardefine: name | {{{1|Gold}}} | ||
− | }} {{#vardefine: property | {{{2| | + | }} {{#vardefine: property | {{{2|Hunger}}} |
}} {{#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}} | ||
}} | }} | ||
</onlyinclude> | </onlyinclude> | ||
− | {| class="wikitable" | + | {| class="wikitable" <onlyinclude> |
− | <onlyinclude> | ||
{{#if: {{#var: factor}}{{#var: offset}}| | {{#if: {{#var: factor}}{{#var: offset}}| | ||
{{!}}- | {{!}}- |
Revision as of 00:46, 12 May 2019