User:TheMilkMan/SandboxTemplate2: Difference between revisions

TheMilkMan (talk | contribs)
No edit summary
TheMilkMan (talk | contribs)
No edit summary
Line 14: Line 14:
<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>
<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 class="hero-shadow" style="overflow:hidden; padding:0px; max-width:190px; height:auto; margin:auto;">[[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="position:relative; display:inline-block; max-width:190px; margin:auto; border-radius:15px; overflow:hidden; box-shadow: 2px 2px 8px rgba(0,0,0,0.7);">
! colspan="2" class="infobox-image" style="margin:auto; border:none;" |<div class="hero-shadow" style="overflow:hidden; border-radius:15px; padding:0px; max-width:190px; height:auto; margin:auto; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);">[[File:{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}_select background.png|190px]]</div>
<div style="position:absolute; transform:translate(-25%, 0); z-index:0;">[[File:{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}_select background.png|300px]]</div>
<div class="hero-shadow" style="position:relative; z-index:1;">[[File:{{{card|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}} card.png}}}|190px|alt={{{BASEPAGENAME}}}]]</div></div>
|-
|-
!colspan="1" style="font-weight: bold; text-transform: uppercase; font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369; text-align:center;" | <div class="hero-tag-img" style="position:relative; font-size: 19px">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}}</div>
!colspan="1" style="font-weight: bold; text-transform: uppercase; font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369; text-align:center;" | <div class="hero-tag-img" style="position:relative; font-size: 19px">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}}</div>