Template:Infobox hero: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) Undo revision 33701 by Gammaton32 (talk) Tag: Undo |
Gammaton32 (talk | contribs) changed icon to automatically use the correct file name |
||
| Line 12: | Line 12: | ||
<div style="width: 50px;"></div> | <div style="width: 50px;"></div> | ||
<div class="infobox-hero-name" style="margin-top:4px;font-family:'Forevs Demo Medium', 'Retail Demo', 'Open Sans', 'PT Serif','Palatino',serif;';">{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}</div> | <div class="infobox-hero-name" style="margin-top:4px;font-family:'Forevs Demo Medium', 'Retail Demo', 'Open Sans', 'PT Serif','Palatino',serif;';">{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}</div> | ||
<div style="padding-left: 10px;">{{#ifeq: {{{no_icon|}}}|true||[[Image:{{{icon|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}}}} | <div style="padding-left: 10px;">{{#ifeq: {{{no_icon|}}}|true||[[Image:{{{icon|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}}}}.png|frameless|center|35px]]}}</div></div> | ||
|- | |- | ||
! colspan="2" class="infobox-image" style="margin:auto; border:none;" |<div style="overflow:hidden; border-radius:15px; padding:0px; background-color:#423837; max-width:190px; height:auto; margin:auto; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);">[[File:{{{card|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}} card.png}}}|190px|alt={{{BASEPAGENAME}}}]]</div> | ! colspan="2" class="infobox-image" style="margin:auto; border:none;" |<div style="overflow:hidden; border-radius:15px; padding:0px; background-color:#423837; max-width:190px; height:auto; margin:auto; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);">[[File:{{{card|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}} card.png}}}|190px|alt={{{BASEPAGENAME}}}]]</div> | ||