Difference between revisions of "Template:Skill"

From Twilight Heroes Wiki
Jump to: navigation, search
m (Reverted edits by AmyRose (talk) to last revision by Muhandes)
Line 1: Line 1:
<includeonly>__NOTOC__Go back to {{#if:{{{class|}}}|[[{{{class}}}]]&#32;}}[[Skills (manual)|Skills]] {{#if:{{{level|}}}|(level {{{level}}} skill, {{#ifexpr:{{{level}}}<2|starting skill|trained at the [[Training Room]]}})}}
+
<includeonly>__NOTOC__Go back to {{#if:{{{class|}}}|[[{{{class}}}]]&#32;}}[[Skills]] {{#if:{{{level|}}}|(level {{{level}}} skill, {{#ifexpr:{{{level}}}<2|starting skill|trained at the [[Training Room]]}})}}
 
<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;">
 
{{#switch:{{{skillid|?}}}||?=Skill ID: <i>Unknown</i>[[Category:Incomplete]]|0=Skill ID: N/A|#default=[[Skills by number ({{#ifexpr:{{{skillid}}}<=99|1|{{#expr:({{{skillid}}} - 50) round -2}}}}-{{#expr:99 + (({{{skillid}}} - 50) round -2)}})|Skill ID]]: {{{skillid}}}<br>[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]}}
 
{{#switch:{{{skillid|?}}}||?=Skill ID: <i>Unknown</i>[[Category:Incomplete]]|0=Skill ID: N/A|#default=[[Skills by number ({{#ifexpr:{{{skillid}}}<=99|1|{{#expr:({{{skillid}}} - 50) round -2}}}}-{{#expr:99 + (({{{skillid}}} - 50) round -2)}})|Skill ID]]: {{{skillid}}}<br>[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]}}

Revision as of 19:04, 6 February 2011


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

Usage

{{skill
|skillid=[in-game ID number, use "0" for ones without a pop-up]
|name=[skill name]
|class=[Elementalist|Gadgeteer|Naturalist|Psion] (optional)
|level=[class skill level] (optional)
|desc=[description text]
|type=[Combat and Noncombat Skill|Combat Skill|Noncombat Skill|Buff|Passive Skill|Effect]. ! if not specified.
|effect=[effect text, ! if non listed]
|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
|effect=Heals damage
|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.

Heals damage

Noncombat Skill
Cost: 12 PP