Template:Infobox item: Difference between revisions

TheMilkMan (talk | contribs)
Removing hasPassive and hasActive booleans
added enhanced variable
Line 18: Line 18:
  | background-color: #C97A03;}}" |<span style="font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name_loc|{{#invoke:Lang|get_string|{{#invoke:ItemData|get_codename|{{#var:item_key_or_en}}}}}}}}}</span>
  | background-color: #C97A03;}}" |<span style="font-weight:bold; text-shadow: 2px 2px rgba(0, 0, 0, 0.2); ">{{{item_name_loc|{{#invoke:Lang|get_string|{{#invoke:ItemData|get_codename|{{#var:item_key_or_en}}}}}}}}}</span>
|-
|-
| colspan=4 class="infobox-image" style="padding:5px; text-align:center;" | [[File:{{{item_icon|{{{item_name|{{#var:item_key_or_en}}}}}}}}.png|144px]]
| colspan=4 class="infobox-image" style="padding:5px; text-align:center; position:relative;" | <div style="position:relative; display:inline-block;">[[File:{{{item_icon|{{{item_name|{{#var:item_key_or_en}}}}}}}}.png|144px]]{{#ifeq:{{{enhanced|}}}|true|<div style="position:absolute; inset:0; background:linear-gradient(to right, rgba(148,244,255,.3), rgba(63,220,255,.3)); pointer-events:none;"></div>}}</div>
|-
|-
{{#ifeq:{{{street_brawl|}}}|true||
{{#ifeq:{{{street_brawl|}}}|true||
Line 43: Line 43:
{{!}}-
{{!}}-
{{!}} colspan=4 class="infobox-label" style=text-align:center; {{!}} {{#invoke:Lang|get_string|Citadel_ItemDraft_Legendary}}
{{!}} colspan=4 class="infobox-label" style=text-align:center; {{!}} {{#invoke:Lang|get_string|Citadel_ItemDraft_Legendary}}
}}
{{#ifeq:{{{enhanced|}}}|true|
{{!}}-
{{!}} colspan=4 class="infobox-label" style="text-align:center;" {{!}} {{Enhanced|ENHANCED}}
}}
}}
|-
|-