Template:Skill: Difference between revisions

From Twilight Heroes Wiki
Jump to navigation Jump to search
Bagatelle (talk | contribs)
mNo edit summary
m companion skill
 
(35 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{class|}}}|Go back to [[{{{class}}}]]}}
<includeonly>__NOTOC__Go to {{#ifeq:{{lc:{{{type|}}}}}|effect|[[:Category:Effects|Effects]]|{{#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;">
[[Skills by number |Skill ID]]: {{#if: {{{skillid|}}}|{{{skillid}}}|'''Unknown!'''[[Category:Incomplete]]}}<br />[http://www.twilightheroes.com/popup.php?skill={{{skillid}}} (view in-game)]</div>
{{#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)]}}
'''{{{name}}}'''
</div>
'''{{{name}}}'''<br>


{{{desc}}}
{{{desc}}}<br>
{{#if: {{{type|}}}
 
|{{#switch: {{{type}}}
{{#if:{{{effect|}}}|{{#ifeq:{{{effect|}}}|!||<b>{{{effect}}}</b><br>}}|''Unspecified effect!''[[Category:Incomplete]]}}
  |effect|Effect = [[Category:Effects]]
 
  |noncombat = <br /><br />Noncombat Skill[[Category:Noncombat Skill]]
{{#if:{{{type|}}}|{{#switch:{{{type}}}|effect|Effect=Effect{{#ifeq:{{{nocat|0}}}|1||[[Category:Effects]]}}|buff|Buff=Buff{{#ifeq:{{{nocat|0}}}|1||[[Category:Buff]]}}|Combat and Noncombat Skill=Combat and Noncombat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Combat Skill]][[Category:Noncombat Skill]]}}|noncombat|Noncombat Skill=Noncombat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Noncombat Skill]]}}|Combat Skill|combat=Combat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Combat Skill]]}}|passive|Passive Skill=Passive Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Passive Skill]]}}|Companion=Companion{{#ifeq:{{{nocat|0}}}|1||[[Category:Companion Skill]]}}|!=[[Category:Effects]]|#default=''Unknown Type''{{#ifeq:{{{nocat|0}}}|1||[[Category:Incomplete]]}}}}|''Unspecified Skill Type!''[[Category:Incomplete]]}}<br>{{#if:{{{ppcost|}}}|Cost: {{{ppcost}}} PP|}}{{#if:{{{ioncost|}}}|Cost: {{{ioncost}}} ion|}}</div></includeonly><noinclude>
  |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|}}</div></includeonly><noinclude>


The {{tl|skill}} template is meant to standardize the appearance of skills and effects on the wiki.
The {{tl|skill}} template is meant to standardize the appearance of skills and effects on the wiki.
Line 21: Line 16:
<pre>
<pre>
{{skill
{{skill
|skillid=[number]
|skillid=[in-game ID number, use "0" for ones without a pop-up]
|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 and Noncombat Skill|Combat Skill|Noncombat Skill|Buff|Passive Skill|Effect]. ! if not specified.
|ppcost=[number] (optional)}}
|effect=[effect text, ! if non listed]
|ppcost=[cost in pp] (optional)
|ioncost=[cost in ions] (optional)}}
</pre>
</pre>


Line 35: Line 33:
|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
|effect=Heals damage
|ppcost=12}}
|ppcost=12}}
</pre>
</pre>
Line 46: Line 46:
|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.
|level=9
|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}}
|effect=Heals damage
|ppcost=12
|nocat=1}}
----
----
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 01:44, 29 November 2014


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)
|ioncost=[cost in ions] (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