Template:WeaponsTableRow: Difference between revisions

Jump to navigation Jump to search
(Added passive support)
m (Correct template)
Line 31: Line 31:


<td style="vertical-align: middle;">
<td style="vertical-align: middle;">
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = WeaponAction | type = htmlList }} | }}{{#if: {{{passives main hand|}}} | Main Hand Only
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives main hand|}}} | Main Hand Only
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = WeaponAction | type = htmlList }} | }}{{#if: {{{passives off hand|}}} | Off-Hand Only
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives off hand|}}} | Off-Hand Only
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = WeaponAction | type = htmlList }} | }}
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }} | }}
{{{special}}}{{#if: {{{special weapon actions|}}}|{{#if: {{{special|}}}|<br/>|}}{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | }}{{#if:{{{legacy|}}}|<br>
{{{special}}}{{#if: {{{special weapon actions|}}}|{{#if: {{{special|}}}|<br/>|}}{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }} | }}{{#if:{{{legacy|}}}|<br>
* {{Legacy Content/notice|{{{legacy}}} }}
* {{Legacy Content/notice|{{{legacy}}} }}
Line 59: Line 59:
| weight lb = 36
| weight lb = 36
| price = 400
| price = 400
| passives = Chilling Counter
| special =
| special =
* Super cool special feature.
* Super cool special feature.