Difference between revisions of "Template:Skill box"

From DotBWiki
Jump to: navigation, search
m (link to gw)
(fix interwiki linking)
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>{{protected|from=everyone|because=of caching/performance issues}}[[Category:Templates/Skill boxes]]</noinclude>{{#ifeq:{{lc:{{{nocats}}}}}|yes||{{#ifeq: {{{name}}} | {{FULLPAGENAME}} | {{#ifeq: {{{elite}}} | yes | [[gw:Category:Elite skills]]}}{{#if: {{{profession|}}} | [[gw:Category:{{{profession}}} skills ({{{campaign}}})]] {{#if: {{{attribute|}}} | {{#ifeq: {{lc:{{{attribute}}}}} | no attribute | [[gw:Category:{{{profession}}} skills by attribute]] | [[gw:Category:{{{attribute}}} skills]]}} | [[gw:Category:{{{profession}}} skills by attribute]]}} | [[gw:Category:Common skills]]}}{{#ifeq: {{{type}}} | Skill | [[gw:Category:Skills (skill type)]] | {{#ifeq: {{{type}}} | Echo | [[gw:Category:Echoes]] | [[gw: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" | [[{{{campaign}}}]]
+
| class="campaign" | [[gw:Campaign|Campaign]]: || class="campaigndata" | [[gw:{{{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" | [[gw:Profession|Profession]]:
| class="professiondata" | {{#if:{{{profession|}}}|[[{{{profession}}}]]|None}}
+
| class="professiondata" | {{#if:{{{profession|}}}|[[gw:{{{profession}}}|{{{profession}}}]]|None}}
 
|-
 
|-
| class="attribute" | [[gw:Attribute|Attribute]]: || colspan=2 class="attributedata" | {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|no attribute|Unlinked|[[{{{attribute}}}]]}}|Unlinked}}
+
| class="attribute" | [[gw:Attribute|Attribute]]: || colspan=2 class="attributedata" | {{#if:{{{attribute|}}}|{{#ifeq:{{lc:{{{attribute}}}}}|no attribute|Unlinked|[[gw:{{{attribute}}}|{{{attribute}}}]]}}|Unlinked}}
 
|-  
 
|-  
| class="type" | [[gw: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="type" | [[gw:Skill type|Type]]: || colspan=2 class="typedata" | {{#ifeq: {{{elite}}} | yes | [[Elite]]}} {{#ifeq: {{{type}}} | Echo | [[gw:Echo (skill type)|Echo]] | {{#ifeq: {{{type}}} | Skill | [[gw:Skill (skill type)|Skill]] | [[gw:{{{type}}}|{{{type}}}]]}}}}
 
|}
 
|}
 
|-
 
|-

Revision as of 19:39, 5 February 2007

Template:Protected

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

{{{description}}}