Difference between revisions of "Template:Skill box"

From DotBWiki
Jump to: navigation, search
(remove gw prefix from the category links)
(link to gww)
 
(8 intermediate revisions by 2 users not shown)
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>
+
<!-- Auto-categorization --><noinclude>[[Category:Templates/Skill boxes]]</noinclude>{{#ifeq:{{lc:{{{nocats}}}}}|yes||{{#ifeq: {{{name}}} | {{FULLPAGENAME}} | {{#ifeq: {{{elite}}} | yes | [[Category:Elite skills]]}}{{#if: {{{profession|}}} | [[Category:{{{profession}}} skills]] {{#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="skillbox">
 
<div class="editskill plainlinks">&#91;[{{fullurle:Template:{{{name}}}|action=edit}} edit skill details]&#93;</div>
 
<div class="editskill plainlinks">&#91;[{{fullurle:Template:{{{name}}}|action=edit}} edit skill details]&#93;</div>
Line 9: Line 9:
 
| class="properties" |
 
| class="properties" |
 
{| class="skillproperties"
 
{| class="skillproperties"
| class="campaign" | [[gw:Campaign|Campaign]]: || class="campaigndata" | [[gw:{{{campaign}}}|{{{campaign}}}]]
+
| class="campaign" | [[gww:Campaign|Campaign]]: || class="campaigndata" | [[gww:{{{campaign}}}|{{{campaign}}}]]
 
| rowspan=2 class="professionicon" |
 
| rowspan=2 class="professionicon" |
 
{{#if: {{{profession|}}} | [[Image:{{{profession}}}-icon.png|{{{profession}}}]]}}
 
{{#if: {{{profession|}}} | [[Image:{{{profession}}}-icon.png|{{{profession}}}]]}}
 
|-
 
|-
| class="profession" | [[gw:Profession|Profession]]:
+
| class="profession" | [[gww:Profession|Profession]]:
| class="professiondata" | {{#if:{{{profession|}}}|[[gw:{{{profession}}}|{{{profession}}}]]|None}}
+
| class="professiondata" | {{#if:{{{profession|}}}|[[{{profession_link|{{{profession}}} }}]]|None}}
 
|-
 
|-
| class="attribute" | [[gw:Attribute|Attribute]]: || colspan=2 class="attributedata" | {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|no attribute|Unlinked|[[gw:{{{attribute}}}|{{{attribute}}}]]}}|Unlinked}}
+
| class="attribute" | [[gww:Attribute|Attribute]]: || colspan=2 class="attributedata" | {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|no attribute|Unlinked|[[{{attribute_link|{{{attribute}}} }}]]}}|Unlinked}}
 
|-  
 
|-  
| class="type" | [[gw:Skill type|Type]]: || colspan=2 class="typedata" | {{#ifeq: {{{elite}}} | yes | [[gw:Elite|Elite]]}} {{#ifeq: {{{type}}} | Echo | [[gw:Echo (skill type)|Echo]] | {{#ifeq: {{{type}}} | Skill | [[gw:Skill (skill type)|Skill]] | [[gw:{{{type}}}|{{{type}}}]]}}}}
+
| class="type" | [[gww:Skill type|Type]]: || colspan=2 class="typedata" | {{#ifeq: {{{elite}}} | yes | [[gww:Elite|Elite]]}} {{#ifeq: {{{type}}} | Echo | [[gww:Echo (skill type)|Echo]] | {{#ifeq: {{{type}}} | Skill | [[gww:Skill (skill type)|Skill]] | [[gww:{{{type}}}|{{{type}}}]]}}}}
 
|}
 
|}
 
|-
 
|-
Line 26: Line 26:
 
| class="statdata" | {{#if: {{{upkeep|}}} | [[Image:Upkeep.png|Upkeep]] | {{#if: {{{sacrifice|}}} | [[Image:Sacrifice.png|Sacrifice]] | &nbsp;}}}}
 
| class="statdata" | {{#if: {{{upkeep|}}} | [[Image:Upkeep.png|Upkeep]] | {{#if: {{{sacrifice|}}} | [[Image:Sacrifice.png|Sacrifice]] | &nbsp;}}}}
 
| class="stat" | {{{adrenaline|{{{energy|&nbsp;}}}}}}
 
| class="stat" | {{{adrenaline|{{{energy|&nbsp;}}}}}}
| class="statdata" | {{#if: {{{adrenaline|}}} | [[Image:Adrenaline.png|Adrenaline]] | {{#if: {{{energy|}}} | [[Image:Energy.png|Energy]] | &nbsp;}}}}
+
| class="statdata" | {{#if: {{{adrenaline|}}} | [[Image:Addr.png|Adrenaline]] | {{#if: {{{energy|}}} | [[Image:Energy.png|Energy]] | &nbsp;}}}}
 
| class="stat" | {{{activation|&nbsp;}}}
 
| class="stat" | {{{activation|&nbsp;}}}
 
| class="statdata" | {{#if: {{{activation|}}} | [[Image:Activation.png|Activation]] | &nbsp;}}
 
| class="statdata" | {{#if: {{{activation|}}} | [[Image:Activation.png|Activation]] | &nbsp;}}

Latest revision as of 20:26, 24 April 2011

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

{{{description}}}