Template:Weapon page: Difference between revisions

Jump to navigation Jump to search
(De-emphasize notes by removing tooltip box)
(Add support for a list of passives)
Line 116: Line 116:
<li> {{Price | {{{price}}} }}</li>
<li> {{Price | {{{price}}} }}</li>
{{#if:{{{uid|}}}{{{uuid|}}}|<li>{{SmallIcon|Ico stats.png}}{{#if:{{{uid|}}}|{{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}</li>}}
{{#if:{{{uid|}}}{{{uuid|}}}|<li>{{SmallIcon|Ico stats.png}}{{#if:{{{uid|}}}|{{Uid|{{{uid}}}}} }} {{#if:{{{uuid|}}}|{{Uuid|{{{uuid}}}}} }}</li>}}
{{#if: {{{special|}}} | {{blank}}</li>
{{#if: {{{special|}}}{{{passives|}}} | {{blank}}</li>
</ul>
</ul>


Line 122: Line 122:


The holder of this item gains:
The holder of this item gains:
{{#invoke: ParseList | main | {{{passives}}} | type = htmlListNoBullets | useTemplate = Passive }}
{{{special}}}
{{{special}}}
}} {{#if: {{{weapon actions|}}}{{{actions|}}} | {{blank}}
}} {{#if: {{{weapon actions|}}}{{{actions|}}} | {{blank}}
Line 269: Line 270:
| weight_lb = String
| weight_lb = String
| price = String
| price = String
| passives = List (,) of String
| weapon_actions = List (,) of String
| weapon_actions = List (,) of String
| special_weapon_actions = List (,) of String
| special_weapon_actions = List (,) of String