User:Samlovesmath/Template:Infobox hero: Difference between revisions

Samlovesmath (talk | contribs)
m updated scalar formatting; other fixes
Samlovesmath (talk | contribs)
mNo edit summary
Line 2: Line 2:
<templatestyles src="Samlovesmath/Infobox_hero/styles.css" />
<templatestyles src="Samlovesmath/Infobox_hero/styles.css" />
<templatestyles src="Samlovesmath/Infobox_hero/themes.css" /><!--
<templatestyles src="Samlovesmath/Infobox_hero/themes.css" /><!--
-->{{#vardefine:provided_key|{{{key|Yamato}}}}}<!--
-->{{#vardefine:provided_key|{{{key|}}}}}<!--
   If key provided is an accepted hero_[name] key, use it;
   If key provided is an accepted hero_[name] key, use it;
-->{{#ifeq: {{#invoke:Samlovesmath/Infobox_hero|is_hero_key|{{#var:provided_key}}}}|true|{{#vardefine:hero_key|{{#var:provided_key}}}}|<!--
-->{{#ifeq: {{#invoke:Samlovesmath/Infobox_hero|is_hero_key|{{#var:provided_key}}}}|true|{{#vardefine:hero_key|{{#var:provided_key}}}}|<!--
Line 38: Line 38:
-->
-->
{| class="infobox-content"
{| class="infobox-content"
! colspan="2" class="infobox-title" style="font-size: {{{name_font_size|25px}}};" |<!--
! colspan="2" class="infobox-title" {{#if:{{{name_font_size|}}}|style{{=}}"font-size: {{{name_font_size|25px}}};"}} |<!--


---- Title + Name Image + Hero Thumbnail ---->
---- Title + Name Image + Hero Thumbnail ---->