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}}}]]}}
+
<includeonly>{{#if: {{{class|}}}|Go back to [[{{{class}}}]]}} {{#if: {{{level|}}}|(level {{{level}}} skill)}}
 
<div style="position:relative"><div style="font-size:80%;text-align:right;position:absolute;top:0px;right:15px;">
 
<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!'''[[Category:Incomplete]]}}<br />[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]</div>
 
[[Skills by number |Skill ID]]: {{#if: {{{skillid|}}}|{{{skillid}}}|'''Unknown!'''[[Category:Incomplete]]}}<br />[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]</div>
'''{{{name}}}'''
+
'''{{{name}}}'''<br /><br />
 
 
 
{{{desc}}}
 
{{{desc}}}
 
{{#if: {{{type|}}}
 
{{#if: {{{type|}}}
 
|{{#switch: {{{type}}}
 
|{{#switch: {{{type}}}
   |effect|Effect = [[Category:Effects]]
+
   |effect|Effect = {{#if: {{{nocat|}}}|[[Category:Effects]]}}
   |noncombat = <br /><br />Noncombat Skill[[Category:Noncombat Skill]]
+
   |noncombat = <br /><br />Noncombat Skill{{#if {{{nocat|}}}|[[Category:Noncombat Skill]]}}
   |combat = <br /><br />Combat Skill[[Category:Combat Skill]]
+
   |combat = <br /><br />Combat Skill{{#if {{{nocat|}}}|[[Category:Combat Skill]]}}
   |passive = <br /><br />Passive Skill[[Category:Passive Skill]]
+
   |passive = <br /><br />Passive Skill{{#if {{{nocat|}}}|[[Category:Passive Skill]]}}
   |#default = <br /><br />{{{type}}}[[Category:{{{type}}}]]}}
+
   |#default = <br /><br />{{{type}}}{{#if {{{nocat|}}}|[[Category:{{{type}}}]]}}}}
 
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]
 
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]
 
}}
 
}}
Line 21: Line 20:
 
<pre>
 
<pre>
 
{{skill
 
{{skill
|skillid=[number]
+
|skillid=[in-game ID number]
 
|name=[skill name]
 
|name=[skill name]
 
|class=[Elementalist|Gadgeteer|Naturalist|Psion] (optional)
 
|class=[Elementalist|Gadgeteer|Naturalist|Psion] (optional)
 +
|level=[class skill level] (optional)
 
|desc=[description text]
 
|desc=[description text]
 
|type=[Combat Skill|Noncombat Skill|Passive Skill|Effect]
 
|type=[Combat Skill|Noncombat Skill|Passive Skill|Effect]
|ppcost=[number] (optional)}}
+
|ppcost=[cost in pp] (optional)}}
 
</pre>
 
</pre>
  
Line 35: Line 35:
 
|name=Knit Bone
 
|name=Knit Bone
 
|class=Psion
 
|class=Psion
 +
|level=9
 
|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
Line 46: Line 47:
 
|name=Knit Bone
 
|name=Knit Bone
 
|class=Psion
 
|class=Psion
 +
|level=9
 
|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
 +
|nocat=1}}
 
----
 
----
 
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Revision as of 19:20, 8 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 to Psion Skills (level 9 skill, trained at the Training Room)

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