Template:LoA/Hero: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
No edit summary
(Undo revision 96926 by A5ho9999 (talk))
Line 3: Line 3:
<span name="main-container" style="display: block; position: relative; height: 195px; width: 320px; left: 25px; top: 25px;">
<span name="main-container" style="display: block; position: relative; height: 195px; width: 320px; left: 25px; top: 25px;">
<span name="name-display" style="display: block; margin-bottom: 12px;"><span style="font-size: 140%; font-weight: bold; color:{{LoA/Color{{{color|}}}}}; background-color:rgba(64,64,64,0.77); padding: 5px; text-shadow: 0px 1px 0px #000000, 1px 0px 0px #000000, 1px 2px 0px #000000; border-top: 2px solid gold; border-bottom: 2px solid gold;"> '''{{#if: {{{name|}}}|{{{name}}}|{{#explode: {{PAGENAME}}|/|-1}}}}''' </span></span>
<span name="name-display" style="display: block; margin-bottom: 12px;"><span style="font-size: 140%; font-weight: bold; color:{{LoA/Color{{{color|}}}}}; background-color:rgba(64,64,64,0.77); padding: 5px; text-shadow: 0px 1px 0px #000000, 1px 0px 0px #000000, 1px 2px 0px #000000; border-top: 2px solid gold; border-bottom: 2px solid gold;"> '''{{#if: {{{name|}}}|{{{name}}}|{{#explode: {{PAGENAME}}|/|-1}}}}''' </span></span>
<span name="attribs-outer-container" style="display: block; height: {{#expr:160 {{#if: {{{hero_skill|}}}|+80}}{{#if: {{{teamwork_partner|}}}|+80}} +({{#ifexpr: {{#if: {{{cost}}}}} > 20|60|0}} ) }}px; background-color:rgba(64,64,64,0.77); color: #ffffff; border: 4px solid #c0c0c0;">
<span name="attribs-outer-container" style="display: block; height: {{#expr:160 {{#if: {{{hero_skill|}}}|+80}}{{#if: {{{teamwork_partner|}}}|+80}} +({{#ifexpr: {{#len:{{{cost}}}}} > 20|60|0}} ) }}px; background-color:rgba(64,64,64,0.77); color: #ffffff; border: 4px solid #c0c0c0;">
<span name="attribs-spacer" style="display: block; font-weight: bold; height: 15px;">&nbsp;</span>
<span name="attribs-spacer" style="display: block; font-weight: bold; height: 15px;">&nbsp;</span>
<span name="hero-class-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;">
<span name="hero-class-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;">
Line 19: Line 19:
{{#if: {{{cost|}}}|
{{#if: {{{cost|}}}|
<span name="hero-cost-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;">
<span name="hero-cost-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;">
<span name="hero-cost-label" style="display: inline-block; position: relative; width: 59%; font-weight: bold; vertical-align:top;">Hero Cost</span>
<span name="hero-cost-label" style="display: inline-block; position: relative; width: 90%; font-weight: bold;">Hero skill <span name="hero-skill" style="display: inline-block; position: relative; font-weight: bold; color:{{LoA/Color{{{color|}}}}};">{{{cost}}}</span>
<span name="hero-cost-value" style="display: inline-block; position: relative; width: 39%;">{{{cost}}}</span>
</span>
</span>
<span name="hero-position-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;">
<span name="hero-position-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;">

Revision as of 05:49, 13 February 2018

Hero   Hero Class {{{class}}} Hero Position {{{position}}} Tavern Unknown {{#if: | Hero skill {{{cost}}} Development growth {{{d_growth}}} ★ Stats go here

Edit background image