Difference between revisions of "Template:Stat Modifier/Row"
Jump to navigation
Jump to search
(Revised - previous version not working.) |
|||
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. --> | ||
− | {{#vardefine: | + | {{#vardefine: name | {{{1|Gold}}} }} |
− | {{#vardefine: | + | {{#vardefine: property | {{{2|Beauty}}} }} |
− | {{#vardefine: | + | {{#vardefine: factor | {{Q| {{#var:name}} | {{#var:property}} Factor}} }} |
− | {{#vardefine: | + | {{#vardefine: offset | {{Q| {{#var:name}} | {{#var:property}} Offset}} }} |
{| class="wikitable" | {| class="wikitable" | ||
<onlyinclude> | <onlyinclude> | ||
− | {{#if: | + | {{#if: {{#var: factor}}{{#var: offset}}| |
{{!}}- | {{!}}- | ||
− | {{Tag/HR}} {{#var: | + | {{Tag/HR}} {{#var: property}} |
− | {{!}}{{ | + | {{!}} |
− | }}</onlyinclude> | + | {{!}} {{Stat Entry/Factor| {{#var:factor}} }} |
+ | {{!}} | ||
+ | {{!}} {{Stat Entry/Offset| {{#var:offset}} }} | ||
+ | |}}</onlyinclude> | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 05:07, 10 September 2016
Beauty | ×4 | +20 |
---|