Template:Infobox hero: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) open sans fallback |
if codenames isn't set then don't add it |
||
| Line 107: | Line 107: | ||
{{!}}- | {{!}}- | ||
| | | | ||
{{#if: {{{codenames|}}} | | |||
{{!}}-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;height:29.5px {{!}} {{#invoke:Dictionary|translate|Codenames}}: | {{!}}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;height:29.5px {{!}} {{#invoke:Dictionary|translate|Codenames}}: | ||
{{!}}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;">{{{codenames | {{!}}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;">{{{codenames}}}</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> | ||