Template:Infobox hero: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>
<!--
<!--
-->{{#if: {{{key|}}} |<!-- If key is provided
-->{{#if: {{{key|}}} |<!-- If key is provided
Line 17: Line 16:
|-
|-
! colspan="2"style="margin:auto;text-align:center;" |<div class="HeroCard2"; style="transition: 0.2s transform ease-in-out;overflow:hidden;border-radius: 15px;background-image: linear-gradient(#A69885, #72695A);padding:0px; background-color:#a79986;text-align:center;max-width:190px;height: auto;margin:auto;box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);">[[File:{{{card}}}|190px|alt={{{BASEPAGENAME}}}]]</div>
! colspan="2"style="margin:auto;text-align:center;" |<div class="HeroCard2"; style="transition: 0.2s transform ease-in-out;overflow:hidden;border-radius: 15px;background-image: linear-gradient(#A69885, #72695A);padding:0px; background-color:#a79986;text-align:center;max-width:190px;height: auto;margin:auto;box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);">[[File:{{{card}}}|190px|alt={{{BASEPAGENAME}}}]]</div>
|-
|-
!colspan="2" style="font-weight: bold; font-size: 17px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 3px black, 1px 1px 2px #A69885, 0px 0px 1px black; color:#FFEFD7;text-align:center;" | Weapon name:<br><span style="font-size: {{{weapon-font-size|19px}}}">{{#if:{{{weapon_name}}}|''"{{{weapon_name|}}}"''}}</span>
!colspan="2" style="font-weight: bold; font-size: 17px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 3px black, 1px 1px 2px #A69885, 0px 0px 1px black; color:#FFEFD7;text-align:center;" | Weapon name:<br><span style="font-size: {{{weapon-font-size|19px}}}">{{#if:{{{weapon_name}}}|''"{{{weapon_name|}}}"''}}</span>
Line 89: Line 87:
|style="font-size: 16px;text-shadow: 1.5px 1.5px rgba(0, 0, 0, 0.7)| {{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 rgba(0, 0, 0, 0.7)| {{Icon/Grey|[[File:Springy_boots_icon.png|20px|link=Stamina]]|{{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Stamina|2}}}}}}}
|}
|}
<div>{{#ifeq: {{{no_summary|}}}|true||{{Quotation||<b>{{Summary hero|{{{name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}}}}|{{{lang|English}}}}}</b>|{{Description hero|{{{name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}}}}|{{{lang|English}}}}}}}}}</onlyinclude><noinclude>{{Documentation}}</noinclude>
<div>{{#ifeq: {{{no_summary|}}}|true||{{Quotation||<b>{{Summary hero|{{{name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}}}}|{{{lang|English}}}}}</b>|{{Description hero|{{{name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|Name}}}}}|{{{lang|English}}}}}}}}}<noinclude>{{Documentation}}</noinclude>