Difference between revisions of "Template:Skill"

From Twilight Heroes Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>{{#if {{{class|}}}|Go back to [[{{{class}}}]]|}}<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">[[Skills by number |Skill Number]]: {{#if {{{skillid|}}}|{{{skillid}}}|'''Unknown!'''}}<br />Skill ID: [http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]</div>
+
<includeonly>{{#if {{{class|}}}|Go back to [[{{{class}}}]]}}<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">[[Skills by number |Skill ID]]: {{#if {{{skillid|}}}|{{{skillid}}}|'''Unknown!'''}}<br />[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]</div>
 
'''{{{name}}}'''
 
'''{{{name}}}'''
  
 
{{{desc}}}
 
{{{desc}}}
  
{{#if {{{type|}}}|{{#switch: {{{type}}}|effect|Effect = [[Category:Effects]]|noncombat = <br /><br />Noncombat Skill[[Category:Noncombat Skill]]|combat = <br /><br />Combat Skill[[Category:Combat Skill]]|passive = <br /><br />Passive Skill[[Category:Passive Skill]]|#default = <br /><br />{{{type}}}[[Category:{{{type}}}]]}}|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]}}{{#if:{{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</includeonly><noinclude>
+
{{#if {{{type|}}}
 +
|{{#switch: {{{type}}}
 +
  |effect|Effect = [[Category:Effects]]
 +
  |noncombat = <br /><br />Noncombat Skill[[Category:Noncombat Skill]]
 +
  |combat = <br /><br />Combat Skill[[Category:Combat Skill]]
 +
  |passive = <br /><br />Passive Skill[[Category:Passive Skill]]
 +
  |#default = <br /><br />{{{type}}}[[Category:{{{type}}}]]}}
 +
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]
 +
}}
 +
 
 +
 
 +
{{#if:{{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
Line 18: Line 29:
  
 
E.g.,
 
E.g.,
<nowiki>
+
<pre>
 
{{skill
 
{{skill
 
|skillid=159
 
|skillid=159
 
|name=Knit Bone
 
|name=Knit Bone
 
|class=Psion
 
|class=Psion
|desc= Mental powers allow you to knit both flesh and bone, healing a considerable amount of damage.
+
|desc=Mental powers allow you to knit both flesh and bone, healing a considerable amount of damage.
 
|type=Noncombat Skill
 
|type=Noncombat Skill
 
|ppcost=12}}
 
|ppcost=12}}
</nowiki>
+
</pre>
 +
 
 
gives
 
gives
 +
 
{{skill
 
{{skill
 
|skillid=159
 
|skillid=159

Revision as of 18:29, 8 March 2008


Usage

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

E.g.,

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

gives

Go to Psion Skills

Knit Bone

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

Unspecified effect!

Noncombat Skill
Cost: 12 PP