Difference between revisions of "Template:Skill box"

From DotBWiki
Jump to: navigation, search
Line 1: Line 1:
 
+
<!-- Auto-categorization --><noinclude>{{protected|from=everyone|because=of caching/performance issues}}[[Category:Templates/Skill boxes]]</noinclude>{{#ifeq:{{lc:{{{nocats}}}}}|yes||{{#ifeq: {{{name}}} | {{FULLPAGENAME}} | {{#ifeq: {{{elite}}} | yes | [[Category:Elite skills]]}}{{#if: {{{profession|}}} | [[Category:{{{profession}}} skills ({{{campaign}}})]] {{#if: {{{attribute|}}} | {{#ifeq: {{lc:{{{attribute}}}}} | no attribute | [[Category:{{{profession}}} skills by attribute]] | [[Category:{{{attribute}}} skills]]}} | [[Category:{{{profession}}} skills by attribute]]}} | [[Category:Common skills]]}}{{#ifeq: {{{type}}} | Skill | [[Category:Skills (skill type)]] | {{#ifeq: {{{type}}} | Echo | [[Category:Echoes]] | [[Category:{{{type}}}s]]}}}}{{#ifeq: {{NAMESPACE}} | Template | [[Category:Skill templates|{{PAGENAME}}]] |}}}}}}<div class="fakeh2"> Skill details </div>
 +
<div class="skillbox">
 +
<div class="editskill plainlinks">&#91;[{{fullurle:Template:{{{name}}}|action=edit}} edit skill details]&#93;</div>
 +
{| class="skillbox"
 +
| class="name" | [[{{{name}}}]]
 +
|-
 +
| class="icon" | [[Image:{{{icon|{{{name}}}}}}.jpg]]
 +
|-
 +
| class="properties" |
 +
{| class="skillproperties"
 +
| class="campaign" | [[Campaign]]: || class="campaigndata" | [[{{{campaign}}}]]
 +
| rowspan=2 class="professionicon" |
 +
{{#if: {{{profession|}}} | [[Image:{{{profession}}}-icon.png|{{{profession}}}]]}}
 +
|-
 +
| class="profession" | [[Profession]]:
 +
| class="professiondata" | {{#if:{{{profession|}}}|[[{{{profession}}}]]|None}}
 +
|-
 +
| class="attribute" | [[Attribute]]: || colspan=2 class="attributedata" | {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|no attribute|Unlinked|[[{{{attribute}}}]]}}|Unlinked}}
 +
|-
 +
| class="type" | [[Skill type|Type]]: || colspan=2 class="typedata" | {{#ifeq: {{{elite}}} | yes | [[Elite]]}} {{#ifeq: {{{type}}} | Echo | [[Echo (skill type)|Echo]] | {{#ifeq: {{{type}}} | Skill | [[Skill (skill type)|Skill]] | [[{{{type}}}]]}}}}
 +
|}
 +
|-
 +
| class="stats" |
 +
{| class="skillstats"
 +
| class="stat" | {{#ifeq:{{lc:{{{exhaustion}}}}}|yes|[[Image:Exhaustion.png]]|{{#if: {{{req|}}} | {{#switch:{{lc:{{{req}}}}}|lead=[[Image:LeadAttack required.png]]|offhand=[[Image:OffHand required.png]]|dual=[[Image:DualAttack required.png]]|hex=[[Image:Hex.png]]|enchantment=[[Image:Enchantment.png]]}}|{{{upkeep|{{{sacrifice|&nbsp;}}}}}}}}}}
 +
| class="statdata" | {{#if: {{{upkeep|}}} | [[Image:Upkeep.png|Upkeep]] | {{#if: {{{sacrifice|}}} | [[Image:Sacrifice.png|Sacrifice]] | &nbsp;}}}}
 +
| class="stat" | {{{adrenaline|{{{energy|&nbsp;}}}}}}
 +
| class="statdata" | {{#if: {{{adrenaline|}}} | [[Image:Adrenaline.png|Adrenaline]] | {{#if: {{{energy|}}} | [[Image:Energy.png|Energy]] | &nbsp;}}}}
 +
| class="stat" | {{{activation|&nbsp;}}}
 +
| class="statdata" | {{#if: {{{activation|}}} | [[Image:Activation.png|Activation]] | &nbsp;}}
 +
| class="stat" | {{{recharge|&nbsp;}}}
 +
| class="statdata" | {{#if: {{{recharge|}}} | [[Image:Recharge.png|Recharge]] | &nbsp;}}
 +
|}
 +
|}
 +
</div>
 +
{{{description}}}
 +
__TOC__{{#if:{{{progression_0_effect|}}}|{{Progression|{{{attribute}}}|{{{progression_0_effect}}}|{{{progression_0_0}}}|{{{progression_0_15}}}|{{{progression_1_effect|}}}|{{{progression_1_0|}}}|{{{progression_1_15|}}}|{{{progression_2_effect|}}}|{{{progression_2_0|}}}|{{{progression_2_15|}}}|{{{progression_3_effect|}}}|{{{progression_3_0|}}}|{{{progression_3_15|}}}}}}}

Revision as of 01:14, 28 January 2007

Template:Protected

Skill details
[[{{{name}}}]]
[[Image:{{{name}}}.jpg]]
Campaign: [[{{{campaign}}}]]
Profession: None
Attribute: Unlinked
Type: [[{{{type}}}]]
               

{{{description}}}