Template:Infobox weapon: Difference between revisions
TeamSpecBot (talk | contribs) Template: infobox weapon |
TeamSpecBot (talk | contribs) Drop the preset field; the cost label links to how costs work |
||
| Line 14: | Line 14: | ||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
{{!}}- | {{!}}- | ||
{{!}} style="padding:4px 6px;vertical-align:top;font-weight:bold;width:40%;" {{!}} Cost | {{!}} style="padding:4px 6px;vertical-align:top;font-weight:bold;width:40%;" {{!}} [[Classes#Items cost points|Cost]] | ||
{{!}} style="padding:4px 6px;" {{!}} {{{cost}}} | {{!}} style="padding:4px 6px;" {{!}} {{{cost}}} | ||
}} | }} | ||
{{#if:{{{stats|}}}| | {{#if:{{{stats|}}}| | ||
| Line 37: | Line 32: | ||
| type = Hitscan | | type = Hitscan | ||
| cost = Free | | cost = Free | ||
| stats = | | stats = | ||
{{Stat row|Damage|18}} | {{Stat row|Damage|18}} | ||
| Line 49: | Line 43: | ||
* <code>type</code>: type | * <code>type</code>: type | ||
* <code>cost</code>: cost | * <code>cost</code>: cost | ||
Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for <code>#if</code>. | Every parameter is optional; empty ones are left out. Needs the ParserFunctions extension for <code>#if</code>. | ||