User:TheMilkMan/SandboxTemplate2: Difference between revisionsGive feedback
TheMilkMan (talk | contribs) mNo edit summary |
TheMilkMan (talk | contribs) No edit summary |
||
| Line 11: | Line 11: | ||
{{#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">}} | ||
<div style="width: 50px;"></div> | <div style="width: 50px;"></div> | ||
<div style="margin-top:4px;font-family:Valve Occult, Forevs Demo, Retail Demo, Open Sans, PT Serif;line-height:30px;">{{If lang|{{#ifeq: {{{no_name|}}}|true|{{{name|{{# | <div style="margin-top:4px;font-family:Valve Occult, Forevs Demo, Retail Demo, Open Sans, PT Serif;line-height:30px;">{{If lang|{{#ifeq: {{{no_name|}}}|true|{{{name|{{#var:hero_en}}}}}|{{Template:Icon/White|[[File:{{#var:hero_en}}_name.png|130px|class=notpageimage|link=]]}}}}|{{{name|{{#var:hero_en}}}}}}}</div> | ||
<div style="padding-left: 10px;">{{#ifeq: {{{no_icon|}}}|true||[[Image: | <div style="padding-left: 10px;">{{#ifeq: {{{no_icon|}}}|true||[[Image:{{#var:hero_en}}.png|frameless|center|35px|link=]]}}</div></div> | ||
|- | |- | ||
! colspan="2" class="infobox-image" style="margin:auto; border:none;" | | ! 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);"> | <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);"> | ||
<div style="position:absolute; transform:translate(- | <div style="position:absolute; transform:translate(-35%, 0); z-index:0;">[[File:{{#var:hero_en}}_select background.png|300px|link=]]</div> | ||
<div class="hero-shadow" style="position:relative; z-index:1;">[[File:{{{card | <div class="hero-shadow" style="position:relative; z-index:1;">[[File:{{{card|{{#var:hero_en}} card.png}}}|190px|alt={{{BASEPAGENAME}}}|link=]]</div></div> | ||
|- | |- | ||
!colspan="2" | <div style="display:flex; flex-wrap:wrap; justify-content:center; gap:8px 12px; font-weight:bold; text-transform:uppercase; font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; text-align:center; padding-bottom: 0.5em; font-size: 19px;"> | !colspan="2" | <div style="display:flex; flex-wrap:wrap; justify-content:center; gap:8px 12px; font-weight:bold; text-transform:uppercase; font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; text-align:center; padding-bottom: 0.5em; font-size: 19px;"> | ||