Template:Infobox hero: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) added name images |
Gammaton32 (talk | contribs) centralize title text if no_icon=true |
||
| Line 9: | Line 9: | ||
{| class="infobox" style="font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; width:250px; padding-top:0px; background-color:#2F2F2F; color:#FFEFD7; font-weight:bold;" | {| class="infobox" style="font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; width:250px; 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','PT Serif','Palatino','FreeSerif','Liberation Serif', 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','PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 1.2px 2px 3px black, 1.2px 1.2px 0.1px #A69885;border-bottom: none" | | ||
<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 Pulp', 'Forevs Demo Medium', 'Retail Demo', 'Open Sans', 'PT Serif','Palatino',serif;line-height:30px;">{{If lang|{{#ifeq: {{{no_name|}}}|true|{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}|{{Template:Icon/White|[[File:{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}_name.png|130px]]}}}}|{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}}}</div> | <div style="margin-top:4px;font-family:'Valve Pulp', 'Forevs Demo Medium', 'Retail Demo', 'Open Sans', 'PT Serif','Palatino',serif;line-height:30px;">{{If lang|{{#ifeq: {{{no_name|}}}|true|{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}|{{Template:Icon/White|[[File:{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}_name.png|130px]]}}}}|{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}}}</div> | ||