Difference between revisions of "Template:Skill"
From Twilight Heroes Wiki
(cat not needed since subcats always exist) |
(As effects are revealed, might as well add them to the template for better looks.) |
||
Line 3: | Line 3: | ||
{{#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)]}} | ||
</div> | </div> | ||
− | '''{{{name}}}'''<br /><br />{{{desc}}}{{#if: {{{type|}}}|{{#switch: {{{type}}}|effect|Effect={{#ifeq:{{{nocat|0}}}|1||[[Category:Effects]]}}|Combat and Noncombat Skill=<br /><br />Combat and Noncombat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Combat Skill]][[Category:Noncombat Skill]]}}|noncombat=<br /><br />Noncombat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Noncombat Skill]]}}|combat=<br /><br />Combat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Combat Skill]]}}|passive=<br /><br />Passive Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Passive Skill]]}}|#default=<br /><br />{{{type}}}{{#ifeq:{{{nocat|0}}}|1||[[Category:{{{type}}}]]}}}}|<br /><br />'''Skill type unknown!'''[[Category:Incomplete]]}}{{#if:{{{ppcost|}}}|<br />Cost: {{{ppcost}}} PP|}}</div></includeonly><noinclude> | + | '''{{{name}}}'''<br /><br />{{{desc}}}<br /><br />'''{{{effect}}}'''{{#if: {{{type|}}}|{{#switch: {{{type}}}|effect|Effect={{#ifeq:{{{nocat|0}}}|1||[[Category:Effects]]}}|Combat and Noncombat Skill=<br /><br />Combat and Noncombat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Combat Skill]][[Category:Noncombat Skill]]}}|noncombat=<br /><br />Noncombat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Noncombat Skill]]}}|combat=<br /><br />Combat Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Combat Skill]]}}|passive=<br /><br />Passive Skill{{#ifeq:{{{nocat|0}}}|1||[[Category:Passive Skill]]}}|#default=<br /><br />{{{type}}}{{#ifeq:{{{nocat|0}}}|1||[[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 16: | Line 16: | ||
|desc=[description text] | |desc=[description text] | ||
|type=[Combat Skill|Noncombat Skill|Buff|Passive Skill|Effect] | |type=[Combat Skill|Noncombat Skill|Buff|Passive Skill|Effect] | ||
+ | |effect=[effect text] | ||
|ppcost=[cost in pp] (optional)}} | |ppcost=[cost in pp] (optional)}} | ||
</pre> | </pre> | ||
Line 28: | Line 29: | ||
|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 38: | Line 40: | ||
|class=Psion | |class=Psion | ||
|level=9 | |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 | ||
|nocat=1}} | |nocat=1}} | ||
---- | ---- | ||
[[Category:Standardization Templates|{{PAGENAME}}]]</noinclude> | [[Category:Standardization Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 23:23, 12 February 2009
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 Skill|Noncombat Skill|Buff|Passive Skill|Effect] |effect=[effect text] |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
Cost: 12 PP