Template:Infobox hero: Difference between revisions

Jump to navigation Jump to search
LVL (talk | contribs)
Changed infobox width from 250 to 260 to standardize with the unit infobox
LVL (talk | contribs)
Added div class
Line 7: Line 7:
-->{{#vardefine:hero_en|{{#if:{{{1|}}}|{{{1}}}|{{#invoke:Lang|get_string|hero_atlas|lang_code_override=en}}}}}}<!-- en
-->{{#vardefine:hero_en|{{#if:{{{1|}}}|{{{1}}}|{{#invoke:Lang|get_string|hero_atlas|lang_code_override=en}}}}}}<!-- en
-->}}
-->}}
{| class="infobox" style="font-family:Retail Demo, Open Sans, PT Serif; width:260px; padding-top:0px; background-color:#2F2F2F; color:#FFEFD7; font-weight:bold;"
<div class="infobox">
{| style="font-family:Retail Demo, Open Sans, PT Serif; width:260px; padding-top:0px; background-color:#2F2F2F; color:#FFEFD7; font-weight:bold;"
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: {{{font-size|25px}}}; font-family:Retail Demo, Open Sans, PT Serif; font-weight: bold; text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A69885;border-bottom: none" |
! colspan="2" style="color: #FFEFD7; background-color: #2F2F2F; font-size: {{{font-size|25px}}}; font-family:Retail Demo, Open Sans, PT Serif; font-weight: bold; text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A69885;border-bottom: none" |
{{#ifeq: {{{no_icon|}}}|true|<div style="display: center; justify-content: space-between">|<div style="display: flex; justify-content: space-between">}}
{{#ifeq: {{{no_icon|}}}|true|<div style="display: center; justify-content: space-between">|<div style="display: flex; justify-content: space-between">}}
Line 156: Line 157:
|image_alt = A portrait image of {{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}} from the video game Deadlock
|image_alt = A portrait image of {{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}} from the video game Deadlock
}}
}}
</div>
{{#ifeq: {{{no_summary|}}}|true||{{Quotation||<b>{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}} - {{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|2}} - {{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|3}}</b>}}}}<!--
{{#ifeq: {{{no_summary|}}}|true||{{Quotation||<b>{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}} - {{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|2}} - {{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|3}}</b>}}}}<!--
--></onlyinclude><noinclude>{{Documentation}}</noinclude>
--></onlyinclude><noinclude>{{Documentation}}</noinclude>