Template:Skill: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
Bagatelle (talk | contribs)
mNo edit summary
Bagatelle (talk | contribs)
mNo edit summary
Line 6: Line 6:
{{#if: {{{type|}}}
{{#if: {{{type|}}}
|{{#switch: {{{type}}}
|{{#switch: {{{type}}}
   |effect|Effect = {{#if: {{{nocat|}}}|[[Category:Effects]]}}
   |effect|Effect = {{#ifeq: {{{nocat|0}}}|1||[[Category:Effects]]}}
   |noncombat = <br /><br />Noncombat Skill{{#if: {{{nocat|}}}|[[Category:Noncombat Skill]]}}
   |noncombat = <br /><br />Noncombat Skill{{#ifeq: {{{nocat|0}}}|1||[[Category:Noncombat Skill]]}}
   |combat = <br /><br />Combat Skill{{#if: {{{nocat|}}}|[[Category:Combat Skill]]}}
   |combat = <br /><br />Combat Skill{{#ifeq: {{{nocat|0}}}|1|||[[Category:Combat Skill]]}}
   |passive = <br /><br />Passive Skill{{#if: {{{nocat|}}}|[[Category:Passive Skill]]}}
   |passive = <br /><br />Passive Skill{{#ifeq: {{{nocat|0}}}|1|||[[Category:Passive Skill]]}}
   |#default = <br /><br />{{{type}}}{{#if: {{{nocat|}}}|[[Category:{{{type}}}]]}}}}
   |#default = <br /><br />{{{type}}}{{#ifeq: {{{nocat|0}}}|1|||[[Category:{{{type}}}]]}}}}
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]}}
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]}}
{{#if: {{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</div></includeonly><noinclude>
{{#if: {{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</div></includeonly><noinclude>

Revision as of 03:29, 9 March 2008


The {{skill}} template is meant to standardize the appearance of skills and effects on the wiki.

Usage

{{skill
|skillid=[in-game ID number]
|name=[skill name]
|class=[Elementalist|Gadgeteer|Naturalist|Psion] (optional)
|level=[class skill level] (optional)
|desc=[description text]
|type=[Combat Skill|Noncombat Skill|Passive Skill|Effect]
|ppcost=[cost in pp] (optional)}}

E.g.,

{{skill
|skillid=159
|name=Knit Bone
|class=Psion
|level=9
|desc=Mental powers allow you to knit both flesh and bone, healing a considerable amount of damage.
|type=Noncombat Skill
|ppcost=12}}

gives


Go back to Psion (level 9 skill)

Knit Bone

Mental powers allow you to knit both flesh and bone, healing a considerable amount of damage.

Noncombat Skill


Cost: 12 PP