Editing Template:LoA/Hero
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<span name="container" style="float:left; width: 875px;"> | <span name="container" style="float:left; width: 875px;"> | ||
<span name="image" style="display: block; overflow: hidden; height: 499px; text-align: center; background: #ff00ff url({{#replace:{{filepath:LoA_Hero_Background_{{#if: {{{image|}}}|{{{image}}}|_{{#replace:{{#explode: {{PAGENAME}}|/|-1}}|<nowiki> </nowiki>|_}}.jpg}}}}|http:}}) no-repeat; position: relative;"> | <span name="image" style="display: block; overflow: hidden; height: 499px; text-align: center; background: #ff00ff url({{#replace:{{filepath:LoA_Hero_Background_{{#if: {{{image|}}}|{{{image}}}|_{{#replace:{{#explode: {{PAGENAME}}|/|-1}}|<nowiki> </nowiki>|_}}.jpg}}}}|http:}}) no-repeat; position: relative;"> | ||
<span name="main-container" style="display: block; position: relative; height: | <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|}}}|+ | <span name="attribs-outer-container" style="display: block; height: {{#expr:160 {{#if: {{{hero_skill|}}}|+80}}{{#if: {{{teamwork_skill|}}}|+80}} }}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;"> </span> | <span name="attribs-spacer" style="display: block; font-weight: bold; height: 15px;"> </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 18: | Line 18: | ||
</span> | </span> | ||
<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 | <span name="hero-cost-label" style="display: inline-block; position: relative; width: 59%; font-weight: bold;">Hero Cost</span> | ||
<span name="hero-cost-value" style="display: inline-block; position: relative; width: 39%;">{{{cost}}}</span> | <span name="hero-cost-value" style="display: inline-block; position: relative; width: 39%;">{{{cost}}}</span> | ||
</span> | </span> | ||
Line 32: | Line 32: | ||
<span name="hero-skill-icon" style="display: inline-block; position: relative; width: 64px;">{{#if: {{{hero_skill_icon|}}}|[[Image:LoA Skills {{{hero_skill_icon}}}]]|[[Image:LoA Skills none.png]]}}</span> | <span name="hero-skill-icon" style="display: inline-block; position: relative; width: 64px;">{{#if: {{{hero_skill_icon|}}}|[[Image:LoA Skills {{{hero_skill_icon}}}]]|[[Image:LoA Skills none.png]]}}</span> | ||
<span name="hero-skill" style="display: inline-block; position: absolute; margin:2% 2% 2% 2%; vertical-align:top; text-wrap:supress; color:{{LoA/Color{{{color|}}}}};">{{{hero_skill_desc}}}</span> | <span name="hero-skill" style="display: inline-block; position: absolute; margin:2% 2% 2% 2%; vertical-align:top; text-wrap:supress; color:{{LoA/Color{{{color|}}}}};">{{{hero_skill_desc}}}</span> | ||
</span>}}{{#if: {{{teamwork_partner|}}}| | </span> | ||
}} | |||
{{#if: {{{teamwork_partner|}}}| | |||
<span name="teamwork-skill-name-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;"> | <span name="teamwork-skill-name-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;"> | ||
<span name="teamwork-skill-name-label" style="display: inline-block; position: relative; width: 90%; font-weight: bold;">Teamwork Skill <span name="hero-skill" style="display: inline-block; position: relative; font-weight: bold; color:{{LoA/Color{{{color|}}}}};">{{{hero_skill}}}+</span></span> | <span name="teamwork-skill-name-label" style="display: inline-block; position: relative; width: 90%; font-weight: bold;">Teamwork Skill <span name="hero-skill" style="display: inline-block; position: relative; font-weight: bold; color:{{LoA/Color{{{color|}}}}};">{{{hero_skill}}}+</span></span> | ||
Line 38: | Line 40: | ||
<span name="teamwork-skill-icon-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;"> | <span name="teamwork-skill-icon-container" style="display: block; margin:0 0 0 5%; text-align: left; width: 90%;"> | ||
<span name="teamwork-skill-icon" style="display: inline-block; position: relative; width: 64px;">{{#if: {{{hero_skill_icon|}}}|[[Image:LoA Skills {{{hero_skill_icon}}}]]|[[Image:LoA Skills none.png]]}}</span> | <span name="teamwork-skill-icon" style="display: inline-block; position: relative; width: 64px;">{{#if: {{{hero_skill_icon|}}}|[[Image:LoA Skills {{{hero_skill_icon}}}]]|[[Image:LoA Skills none.png]]}}</span> | ||
<span name="teamwork-skill" style="display: inline-block; position: absolute; margin:2% 2% 2% 2%; vertical-align:top; text-wrap:supress; color:#ffff00;">and <span style="color:{{LoA/Color{{{color|}}}}};"><nowiki>[</nowiki>{{{teamwork_partner}}}<nowiki>]</nowiki></span> Triggers while | <span name="teamwork-skill" style="display: inline-block; position: absolute; margin:2% 2% 2% 2%; vertical-align:top; text-wrap:supress; color:#ffff00;">and <span style="color:{{LoA/Color{{{color|}}}}};"><nowiki>[</nowiki>{{{teamwork_partner}}}<nowiki>]</nowiki></span> Triggers while player <span style="color:{{LoA/Color{{{color|}}}}};">Teamwork Skill</span> {{{hero_skill}}}+</span> | ||
</span> | </span> | ||
}} | }} | ||
</span> | </span> | ||
</span> | </span> |