Difference between revisions of "Template:Skill"

From Twilight Heroes Wiki
Jump to: navigation, search
(let's see if this works...)
 
m (heh, crash & burn)
Line 1: Line 1:
<includeonly>{{#if {{{class|}}}|Go back to [[{{{class}}}]]|}}
+
<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>
<div style="position:relative">
+
'''{{{name}}}'''
<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>
+
{{{desc}}}
'''{{{name}}}'''<br /><br />
+
 
{{{desc}}}<br /><br />
+
{{#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==
 
<nowiki>
 
<nowiki>

Revision as of 18:07, 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