Template:Skill: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Onteron Template for skills; first draft |
ROWiki>Onteron improvements |
||
Line 5: | Line 5: | ||
== Syntax == | == Syntax == | ||
<pre | <pre> | ||
{{skill | {{skill |name={{subst:PAGENAME}}|data={{{data|}}} | ||
| class = <!-- Warrior|Barbarian|Knight|Archer|Marksman|Hunter|Mage|Warlock|Conjurer --> | | class = <!-- Warrior|Barbarian|Knight|Archer|Marksman|Hunter|Mage|Warlock|Conjurer --> | ||
| tree = <!-- The name of the skill tree --> | | tree = <!-- The name of the skill tree --> | ||
| | | position = <!-- The position of the skill in its tree (1-10) (number only) --> | ||
| type = <!-- Instant|Constant|Activable|Aura|Passive --> | | type = <!-- Instant|Constant|Activable|Aura|Passive --> | ||
| description | | description = <!-- Skill decription --> | ||
| casting = <!-- Casting time (number only) --> | | casting = <!-- Casting time (number only) --> | ||
| range = <!-- Range (number only) --> | | range = <!-- Range (number only) --> | ||
| cooldown = <!-- Cooldown (number only) --> | | cooldown = <!-- Cooldown (number only) --> | ||
| area = <!-- Area affected (number only) --> | | area = <!-- Area affected (number only) --> | ||
| cost = <!-- The mana cost of the spell --> | | cost = <!-- The mana cost of the spell --> | ||
| duration = <!-- Duration of skill (only for Constant/Activable) (number only) --> | |||
| damage = <!-- Damage to enemy health/mana --> | | damage = <!-- Damage to enemy health/mana --> | ||
| | | debuff = <!-- Any negative changes or status effects to enemies --> | ||
| | | restore = <!-- Increases to self/ally health/mana --> | ||
| | | buff = <!-- Any positive status changes/effects to self/allies --> | ||
| other = <!-- Anything else --> | |||
}} | }} | ||
</pre> | |||
For parameters duration, cost, damage, debuffs, increases and buffs, the syntax is | For parameters duration, cost, damage, debuffs, increases and buffs, the syntax is | ||
name: L1value, L2value, L3value, L4value, L5value | name: L1value, L2value, L3value, L4value, L5value | ||
with multiple entries separated by semicolons. Whitespace is ignored. See examples. | with multiple entries separated by semicolons. Whitespace is ignored. See examples. | ||
When using the template, parameters not used can either be deleted or left blank. | |||
== Examples == | == Examples == | ||
Line 36: | Line 39: | ||
| class = Marksman | | class = Marksman | ||
| tree = Aiming mastery | | tree = Aiming mastery | ||
| | | position = 4 | ||
| type = Passive | | type = Passive | ||
| | | buff = Attack range: 5%, 7%, 9%, 12%, 15% | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 45: | Line 48: | ||
| class = Marksman | | class = Marksman | ||
| tree = Aiming mastery | | tree = Aiming mastery | ||
| | | position = 4 | ||
| type = Passive | | type = Passive | ||
| | | buff = Attack range: 5%, 7%, 9%, 12%, 15% | ||
}} | }} | ||
=== Sultar's Terror === | === Sultar's Terror === | ||
<pre>< | <pre><nowiki> | ||
{{skill | {{skill | ||
| class = Warlock | | class = Warlock | ||
| tree = Arcania | | tree = Arcania | ||
| | | position = 10 | ||
| type = Constant | | type = Constant | ||
| casting = 3 | | casting = 3 | ||
| range = 30 | | range = 30 | ||
| cooldown = 180 | | cooldown = 180 | ||
| area = 10 | | area = 10 | ||
| cost = 400,425,450,475,500 | | cost = 400,425,450,475,500 | ||
| duration = 3,4,5,6,7 | |||
| damage = Slashing: 70-100, 115-160, 160-225, 205-285, 250-350; | | damage = Slashing: 70-100, 115-160, 160-225, 205-285, 250-350; | ||
Piercing: 70-100, 115-160, 160-225, 205-285, 250-350; | Piercing: 70-100, 115-160, 160-225, 205-285, 250-350; | ||
Blunt: 70-100, 115-160, 160-225, 205-285, 250-350 | Blunt: 70-100, 115-160, 160-225, 205-285, 250-350 | ||
| | | debuff = Knock down | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 73: | Line 76: | ||
| class = Warlock | | class = Warlock | ||
| tree = Arcania | | tree = Arcania | ||
| | | position = 10 | ||
| type = Constant | | type = Constant | ||
| casting = 3 | | casting = 3 | ||
| range = 30 | | range = 30 | ||
| cooldown = 180 | | cooldown = 180 | ||
| area = 10 | | area = 10 | ||
| cost = 400,425,450,475,500 | | cost = 400,425,450,475,500 | ||
| duration = 3,4,5,6,7 | |||
| damage = Slashing: 70-100, 115-160, 160-225, 205-285, 250-350; | | damage = Slashing: 70-100, 115-160, 160-225, 205-285, 250-350; | ||
Piercing: 70-100, 115-160, 160-225, 205-285, 250-350; | Piercing: 70-100, 115-160, 160-225, 205-285, 250-350; | ||
Blunt: 70-100, 115-160, 160-225, 205-285, 250-350 | Blunt: 70-100, 115-160, 160-225, 205-285, 250-350 | ||
| | | debuff = Knock down | ||
}} | }} | ||
Line 93: | Line 96: | ||
| class = Mage | | class = Mage | ||
| tree = Mana control | | tree = Mana control | ||
| | | position = 6 | ||
| type = Instant | | type = Instant | ||
| description The wizard sacrifices his health to recover magical power. | | description The wizard sacrifices his health to recover magical power. | ||
| casting = 1 | | casting = 1 | ||
| cooldown = 25 | | cooldown = 25 | ||
| cost = | | cost = 0 | ||
| | | selfdamage = 150, 225, 300, 375, 450 | ||
| restore = Mana: +300, +450, +600, +750, +900 | |||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
Line 106: | Line 110: | ||
| class = Mage | | class = Mage | ||
| tree = Mana control | | tree = Mana control | ||
| | | position = 6 | ||
| type = Instant | | type = Instant | ||
| description The wizard sacrifices his health to recover magical power. | | description The wizard sacrifices his health to recover magical power. | ||
| casting = 1 | | casting = 1 | ||
| cooldown = 25 | | cooldown = 25 | ||
| cost = | | cost = 0 | ||
| | | selfdamage = 150, 225, 300, 375, 450 | ||
| restore = Mana: +300, +450, +600, +750, +900 | |||
}} | }} | ||
<onlyinclude><includeonly> | <onlyinclude><includeonly> | ||
<table | '''{{{name}}}''' is the [[{{{class}}}]]'s {{ordinal|{{{position}}}}} {{#ifeq:{{{position}}}|10|and final}} [[{{{class}}}#{{{tree}}}|{{{tree}}}]] skill. | ||
<tr> | <table cellspacing="2" style="text-align:center"> | ||
< | <tr><td><table style="width:100%; text-align:left"> | ||
<tr style="vertical-align:top"> | |||
<td style="width:36px">[[Image:{{{name}}} skill icon.jpg]]</td> | |||
<td style="width:15em">''{{{description}}}''</td> | |||
<td style="width:40%"> | |||
*Type: [[{{{type}}} skills|{{{type}}}]] | |||
{{#ifeq: {{{type}}} | Passive || | |||
*Casting time: {{{casting}}} | |||
{{#if: {{{range|}}} |*Range: {{{range}}}m }} | |||
*Cooldown time: {{{cooldown}}} | |||
{{#if: {{{area|}}} |*Area: {{{area}}} }} | |||
}} | |||
</td> | |||
</tr> | </tr> | ||
</table><br/></td></tr> <!-- | |||
------ Show level headings ------ | |||
-->{{skill/subtabletop | color = #deffad | bordercolor = black}} | |||
<tr> | |||
<th></th><th style="width:6em">Level 1</th> | |||
<th style="width:6em">Level 2</th><th style="width:6em">Level 3</th> | |||
<th style="width:6em">Level 4</th><th style="width:6em">Level 5</th> | |||
</tr> | |||
</table></td></tr> <!-- | |||
------ If type is not 'Passive'... ------ | |||
-->{{#ifeq: {{{type}}} | Passive | | |||
| {{skill/subtabletop}} | |||
{{#ifeq: {{{type}}} | | <!-- Show 'cost' --> | ||
{{skill/parserow | {{#explode: {{{cost}}} | ; | 0 }} | Mana cost }} | |||
}} | <!-- If type is 'Constant' or 'Activable', show 'duration' --> | ||
{{#ifexpr: {{#ifeq:{{{type}}}|Constant|1|0}} or {{#ifeq:{{{type}}}|Activable|1|0}} | |||
| {{skill/parserow | {{#explode: {{{duration}}} | ; | 0 }} | Duration | s }} | |||
}} | |||
</table></td></tr> | |||
}} <!-- | |||
------ If damage values are supplied, show them ------ | |||
-->{{#if: {{{damage|}}} | |||
| {{skill/subtabletop | color = #ffffaa | title = Damage to enemies }} | |||
{{skill/parserow | {{#explode: {{{damage}}} | ; | 0 }} | Damage }} | |||
{{skill/parserow | {{#explode: {{{damage}}} | ; | 1 }} | Damage }} | |||
{{skill/parserow | {{#explode: {{{damage}}} | ; | 2 }} | Damage }} | |||
</table></td></tr> | |||
}} <!-- | |||
------ If debuffs are supplied, show them ------ | |||
-->{{#if: {{{debuff|}}} | |||
| {{skill/subtabletop | color = #aaddff | title = Debuffs on enemies }} | |||
{{skill/parserow | {{#explode: {{{debuff}}} | ; | 0 }} }} | |||
{{skill/parserow | {{#explode: {{{debuff}}} | ; | 1 }} }} | |||
</table></td></tr> | |||
}} <!-- | |||
{{# | ------ If self-damage values are supplied, show them ------ | ||
-->{{#if: {{{selfdamage|}}} | |||
}} | | {{skill/subtabletop | color = #ffdead | title = Damage on self}} | ||
{{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 0 }} }} | |||
{{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 1 }} }} | |||
</table></td></tr> | |||
}} <!-- | |||
{{# | ------ If self-debuffs are supplied, show them ------ | ||
|{{# | -->{{#if: {{{selfdebuff|}}} | ||
| {{skill/subtabletop | color = #ffdead | title = Debuffs on self}} | |||
{{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 0 }} }} | |||
{{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 1 }} }} | |||
</table></td></tr> | |||
}} <!-- | |||
}} | |||
{{#if: {{{ | ------ If restore values are supplied, show them ------ | ||
| | -->{{#if: {{{restore|}}} | ||
| {{skill/subtabletop | color = #aaddff | title = Restore }} | |||
{{skill/parserow | {{#explode: {{{restore}}} | ; | 0 }} }} | |||
}} | {{skill/parserow | {{#explode: {{{restore}}} | ; | 1 }} }} | ||
</table></td></tr> | |||
}} <!-- | |||
{{#if: {{{ | ------ If buffs are supplied, show them ------ | ||
| | -->{{#if: {{{buff|}}} | ||
| {{skill/subtabletop | color = #aaddff | title = Buffs}} | |||
{{skill/parserow | {{#explode: {{{buff}}} | ; | 0 }} }} | |||
}} | {{skill/parserow | {{#explode: {{{buff}}} | ; | 1 }} }} | ||
</table></td></tr> | |||
}} <!-- | |||
{{#if: {{{ | ------ If other values are supplied, show them ------ | ||
| | -->{{#if: {{{other|}}} | ||
| {{skill/subtabletop}} | |||
{{skill/parserow | {{#explode: {{{other}}} | ; | 0 }} }} | |||
}} | </table></td></tr> | ||
}} | |||
</table> | </table> | ||
</includeonly></onlyinclude> | </includeonly></onlyinclude> |
Revision as of 23:01, 16 October 2008
This template is a work in progress!
Syntax
{{skill |name={{subst:PAGENAME}}|data={{{data|}}} | class = <!-- Warrior|Barbarian|Knight|Archer|Marksman|Hunter|Mage|Warlock|Conjurer --> | tree = <!-- The name of the skill tree --> | position = <!-- The position of the skill in its tree (1-10) (number only) --> | type = <!-- Instant|Constant|Activable|Aura|Passive --> | description = <!-- Skill decription --> | casting = <!-- Casting time (number only) --> | range = <!-- Range (number only) --> | cooldown = <!-- Cooldown (number only) --> | area = <!-- Area affected (number only) --> | cost = <!-- The mana cost of the spell --> | duration = <!-- Duration of skill (only for Constant/Activable) (number only) --> | damage = <!-- Damage to enemy health/mana --> | debuff = <!-- Any negative changes or status effects to enemies --> | restore = <!-- Increases to self/ally health/mana --> | buff = <!-- Any positive status changes/effects to self/allies --> | other = <!-- Anything else --> }}
For parameters duration, cost, damage, debuffs, increases and buffs, the syntax is
name: L1value, L2value, L3value, L4value, L5value
with multiple entries separated by semicolons. Whitespace is ignored. See examples.
When using the template, parameters not used can either be deleted or left blank.
Examples
Foresight
{{skill | class = Marksman | tree = Aiming mastery | position = 4 | type = Passive | buff = Attack range: 5%, 7%, 9%, 12%, 15% }}
Gives:
{{{name}}} is the Marksman's 4th Aiming mastery skill.
| |||||
Level 1 | Level 2 | Level 3 | Level 4 | Level 5 |
---|
Buffs
Sultar's Terror
{{skill | class = Warlock | tree = Arcania | position = 10 | type = Constant | casting = 3 | range = 30 | cooldown = 180 | area = 10 | cost = 400,425,450,475,500 | duration = 3,4,5,6,7 | damage = Slashing: 70-100, 115-160, 160-225, 205-285, 250-350; Piercing: 70-100, 115-160, 160-225, 205-285, 250-350; Blunt: 70-100, 115-160, 160-225, 205-285, 250-350 | debuff = Knock down }}
Gives:
{{{name}}} is the Warlock's 10th and final Arcania skill.
| |||||
Level 1 | Level 2 | Level 3 | Level 4 | Level 5 |
---|
Damage to enemies
Debuffs on enemies
Ambitious sacrifice
{{skill | class = Mage | tree = Mana control | position = 6 | type = Instant | description The wizard sacrifices his health to recover magical power. | casting = 1 | cooldown = 25 | cost = 0 | selfdamage = 150, 225, 300, 375, 450 | restore = Mana: +300, +450, +600, +750, +900 }}
Gives:
{{{name}}} is the Mage's 6th Mana control skill.
| |||||
Level 1 | Level 2 | Level 3 | Level 4 | Level 5 |
---|
Damage on self
Restore