Template:Infobox hero: Difference between revisions

Added auto translation for quotes link and usage of dictionary for word quotes
adjusted spacing
Line 92: Line 92:
{{!}}-style="vertical-align:top;"
{{!}}-style="vertical-align:top;"
{{!}}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}}:
{{!}}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}}:
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" {{!}}   {{{voice_actor|}}}}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; margin-left: -9px;" {{!}}<span style="margin-left: 2px;">{{{voice_actor|}}}}}</span>
|-style="vertical-align:top;"
|-style="vertical-align:top;"
|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}}:
|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}}:
|style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" | &nbsp; {{{release_date|}}}
|style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" |<span style="margin-left: 2px;">{{{release_date|}}}</span>
{{#ifeq: {{{no_quotes|}}}|true|
{{#ifeq: {{{no_quotes|}}}|true|
{{!}}-
{{!}}-
Line 101: Line 101:
{{!}}-style="vertical-align:top;"
{{!}}-style="vertical-align:top;"
{{!}}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}}:
{{!}}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}}:
{{!}}style="font-size: 15px;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{{If_lang}}|<span style="color:#FFEFD7; font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;">{{{quotes|{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}/{{#invoke:Dictionary|translate|Quotes}}}}}</span>]]}}
{{!}}style="font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;" {{!}} [[{{{name|{{#invoke:Lang|get_string|{{{key}}}|lang_code_override=en}}}}}/Quotes{{If_lang}}|<span style="color:#FFEFD7; font-size: 15px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left; margin-left: 2px;">{{{quotes|{{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}/{{#invoke:Dictionary|translate|Quotes}}}}}</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>