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 ID]]: {{#if {{{skillid|}}}|{{{skillid}}}|'''Unknown!'''}}<br />[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!'''[[Category:Incomplete]]}}<br />[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]</div>
 
'''{{{name}}}'''
 
'''{{{name}}}'''
  
 
{{{desc}}}
 
{{{desc}}}
 
 
{{#if: {{{type|}}}
 
{{#if: {{{type|}}}
 
|{{#switch: {{{type}}}
 
|{{#switch: {{{type}}}
Line 13: Line 14:
 
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]
 
|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]
 
}}
 
}}
 +
{{#if:{{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</div></includeonly><noinclude>
  
 
+
The {{tl|skill}} template is meant to standardize the appearance of skills and effects on the wiki.
{{#if:{{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</includeonly><noinclude>
 
  
 
==Usage==
 
==Usage==
Line 38: Line 39:
 
|ppcost=12}}
 
|ppcost=12}}
 
</pre>
 
</pre>
 
+
----
 
gives
 
gives
 
+
----
 
{{skill
 
{{skill
 
|skillid=159
 
|skillid=159
Line 48: Line 49:
 
|type=Noncombat Skill
 
|type=Noncombat Skill
 
|ppcost=12}}
 
|ppcost=12}}
 
+
----
 
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:48, 8 March 2008


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

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