Ad placeholder

Template:WeaponsTableRow: Difference between revisions

Jump to navigation Jump to search
Improve code and formatting.
(Updated to no longer need to query cargo again)
(Improve code and formatting.)
Line 31: Line 31:


<td style="vertical-align: middle;">
<td style="vertical-align: middle;">
{{#if: {{{passives|}}} | {{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives main hand|}}} | Main Hand Only
{{#if: {{{passives|}}} |
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }} | }}{{#if: {{{passives off hand|}}} | Off-Hand Only
{{#invoke: ParseList | main | {{{passives}}} | useTemplate = Passive | 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>
}}{{#if: {{{passives main hand|}}} | {{blank}}
Main Hand Only
{{#invoke: ParseList | main | {{{passives main hand}}} | useTemplate = Passive | type = htmlList }}
}}{{#if: {{{passives off hand|}}} | {{blank}}
Off-Hand Only
{{#invoke: ParseList | main | {{{passives off hand}}} | useTemplate = Passive | type = htmlList }}
}}{{#if: {{{special|}}} | {{blank}}
{{{special}}}
}}{{#if: {{{special weapon actions|}}} | {{blank}}
{{#invoke: ParseList | main | {{{special weapon actions}}} | useTemplate = WeaponAction | type = htmlList }}
}}{{#if: {{{legacy|}}} | {{blank}}
* {{Legacy Content/notice|{{{legacy}}} }}
* {{Legacy Content/notice|{{{legacy}}} }}
}}
}}

Navigation menu