Template:Infobox hero: Difference between revisions

support for localized hero name image
Samlovesmath (talk | contribs)
m excluded certain images from PageImages selection (ex. background)
Line 35: Line 35:


   --- Box Background ---
   --- Box Background ---
--><div class="infobox-background">[[File:{{#var:theme-bg-image}}|{{#var:theme-bg-height}}|right|link=]]</div><!--
--><div class="infobox-background">[[File:{{#var:theme-bg-image}}|{{#var:theme-bg-height}}|right|link=|class=notpageimage]]</div><!--
-->
-->
{| class="infobox-content"
{| class="infobox-content"
Line 49: Line 49:
<div class="infobox-title-hero-right"><div>
<div class="infobox-title-hero-right"><div>
{{#ifeq:{{#var:show_icon}}|true|{{#ifexist:File:{{{icon|{{#var:hero_en}}}}}.png|<div class="infobox-title-hero-tornbox"></div>
{{#ifeq:{{#var:show_icon}}|true|{{#ifexist:File:{{{icon|{{#var:hero_en}}}}}.png|<div class="infobox-title-hero-tornbox"></div>
<div class="infobox-title-hero-icon">[[File:{{{icon|{{#var:hero_en}}}}}.png|center|35px]]</div></div>
<div class="infobox-title-hero-icon">[[File:{{{icon|{{#var:hero_en}}}}}.png|center|35px|class=notpageimage]]</div></div>
</div>|}}}}<!--
</div>|}}}}<!--