Template:Infobox item: Difference between revisionsGive feedback
TheMilkMan (talk | contribs) Added Charge-Up and Ability_Cooldown#Item_Cooldown links to the relevant icons |
TheMilkMan (talk | contribs) Removing hasPassive and hasActive booleans |
||
| Line 109: | Line 109: | ||
| background-color: #80550F;}}" {{!}} {{{item_stat7|}}}}} | | background-color: #80550F;}}" {{!}} {{{item_stat7|}}}}} | ||
|- | |- | ||
{{# | {{#if:{{{passive1_description|}}}| | ||
! colspan={{#expr:4 - ({{#if:{{{passive1_chargeup|}}}|1|0}} + {{#if:{{{passive1_cooldown|}}}|1|0}}) }} class="passive-header" style="text-align:left; padding:2px 12px; {{ | ! colspan={{#expr:4 - ({{#if:{{{passive1_chargeup|}}}|1|0}} + {{#if:{{{passive1_cooldown|}}}|1|0}}) }} class="passive-header" style="text-align:left; padding:2px 12px; {{ | ||
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}} | #switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}} | ||
| Line 154: | Line 154: | ||
}} | }} | ||
|-<!--start of passive2 section--> | |-<!--start of passive2 section--> | ||
{{# | {{#if:{{{passive2_description|}}}| | ||
! colspan={{#expr:4-{{#if:{{{passive2_cooldown|}}}|1|0}}}} class="passive-header" style="text-align:left; padding:2px 12px; {{ | ! colspan={{#expr:4-{{#if:{{{passive2_cooldown|}}}|1|0}}}} class="passive-header" style="text-align:left; padding:2px 12px; {{ | ||
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}} | #switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}} | ||
| Line 192: | Line 192: | ||
}} | }} | ||
|-<!--start of active 1 section--> | |-<!--start of active 1 section--> | ||
{{# | {{#if:{{{active1_description|}}}| | ||
! colspan={{#expr:4-{{#if:{{{active1_cooldown|}}}|1|0}}}} class="active-header" style="text-align:left; padding:2px 12px; {{ | ! colspan={{#expr:4-{{#if:{{{active1_cooldown|}}}|1|0}}}} class="active-header" style="text-align:left; padding:2px 12px; {{ | ||
#switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}} | #switch: {{{item_type|{{#invoke:ItemData|get_type|{{#var:item_key_or_en}}|raw=true}}}}} | ||