Template:Infobox hero: Difference between revisions

reduced width by 20px to fit better with new layout
added translation strings
Line 86: Line 86:
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Springy_boots_icon.png|20px|link=Stamina]]|{{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Stamina|2}}}}}}}
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Springy_boots_icon.png|20px|link=Stamina]]|{{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Stamina|2}}}}}}}
|-style="vertical-align:middle;"
|-style="vertical-align:middle;"
|colspan="2" style="font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369; text-align:center;" |<span class=""><b style="color: #FFEFD7; background-color: #2F2F2F; font-size: 15px; font-family: 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-style: italic; text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7); color:#FFEFD7;text-align:center;position:relative; bottom:-7px;"><br style="display: block; margin-top: -9px;">INFORMATION</b></span>
|colspan="2" style="font-weight: bold; font-size: 16px; font-family: 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-weight: bold; text-shadow: 1.1px 2px 2px black, 1.2px 1.2px 0.2px #7a7369; text-align:center;" |<span class=""><b style="color: #FFEFD7; background-color: #2F2F2F; font-size: 15px; font-family: 'PT Serif','Palatino','FreeSerif','Liberation Serif', serif; font-style: italic; text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7); color:#FFEFD7;text-align:center;position:relative; bottom:-7px;"><br style="display: block; margin-top: -9px;">{{#invoke:Dictionary|translate|Information|lang_code_override=en}}</b></span>
{{#ifeq: {{{no_voice_actor|}}}|true|
{{#ifeq: {{{no_voice_actor|}}}|true|
{{!}}-
{{!}}-
|
|
{{!}}-style="vertical-align:middle;"
{{!}}-style="vertical-align:middle;"
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F {{!}} Voice Actor:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F {{!}} {{#invoke:Dictionary|translate|VoiceActor|lang_code_override=en}}:
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" {{!}} &nbsp; {{{voice_actor|}}}}}
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" {{!}} &nbsp; {{{voice_actor|}}}}}
|-style="vertical-align:middle;"
|-style="vertical-align:middle;"
|style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F | Release Date:
|style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F | {{#invoke:Dictionary|translate|ReleaseDate|lang_code_override=en}}:
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" | &nbsp; {{{release_date|}}}
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" | &nbsp; {{{release_date|}}}
{{#ifeq: {{{no_quotes|}}}|true|
{{#ifeq: {{{no_quotes|}}}|true|
Line 100: Line 100:
|
|
{{!}}-style="vertical-align:middle;"
{{!}}-style="vertical-align:middle;"
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F {{!}} Voice Lines:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F {{!}} {{#invoke:Dictionary|translate|VoiceLines|lang_code_override=en}}:
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" {{!}} &nbsp; [[{{{name|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}}/Quotes{{{subpage|}}}|<span style="color:#FFEFD7; font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;">{{{quotes|{{{name|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}}/Quotes{{{subpage|}}}}}}</span>]]}}
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" {{!}} &nbsp; [[{{{name|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}}/Quotes{{{subpage|}}}|<span style="color:#FFEFD7; font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;">{{{quotes|{{{name|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}}/Quotes{{{subpage|}}}}}}</span>]]}}
|}
|}
{{#ifeq: {{{no_summary|}}}|true||{{Quotation||<b>{{#invoke:Lang|get_string|{{{key}}}_role}}</b>|{{#invoke:Lang|get_string|{{{key}}}_playstyle}}}}}}
{{#ifeq: {{{no_summary|}}}|true||{{Quotation||<b>{{#invoke:Lang|get_string|{{{key}}}_role}}</b>|{{#invoke:Lang|get_string|{{{key}}}_playstyle}}}}}}
</onlyinclude><noinclude>{{Documentation}}</noinclude>
</onlyinclude><noinclude>{{Documentation}}</noinclude>