Template:Skill: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
Template for skills; first draft
 
ROWiki>Onteron
improvements
Line 5: Line 5:
== Syntax ==
== Syntax ==


<pre><nowiki>
<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 -->
     | level =       <!-- The 'level' of the skill (1-10). 'Level' probably isn't the right word to use -->
     | 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   <!-- Skill decription -->
     | 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) -->
    | duration =    <!-- Duration of skill (only for Constant/Activable) (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 -->
     | debuffs =     <!-- Any negative changes or status effects -->   
     | debuff =     <!-- Any negative changes or status effects to enemies -->   
     | increases =   <!-- Increases to ally health/mana. Needs a better name -->
     | restore =     <!-- Increases to self/ally health/mana -->
     | buffs =       <!-- Any positive status changes/effects to allies -->
     | buff =       <!-- Any positive status changes/effects to self/allies -->
    | other =      <!-- Anything else -->
}}
}}
</nowiki></pre>
</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
     | level = 4
     | position = 4
     | type = Passive
     | type = Passive
     | buffs = Attack range: 5%, 7%, 9%, 12%, 15%
     | 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
     | level = 4
     | position = 4
     | type = Passive
     | type = Passive
     | buffs = Attack range: 5%, 7%, 9%, 12%, 15%
     | buff = Attack range: 5%, 7%, 9%, 12%, 15%
}}
}}


=== Sultar's Terror ===
=== Sultar's Terror ===
<pre></nowiki>
<pre><nowiki>
{{skill
{{skill
     | class =      Warlock
     | class =      Warlock
     | tree =        Arcania
     | tree =        Arcania
     | level =       10
     | position =   10
     | type =        Constant
     | type =        Constant
     | casting =    3
     | casting =    3
     | range =      30
     | range =      30
     | cooldown =    180
     | cooldown =    180
    | duration =    3,4,5,6,7
     | 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
     | debuffs =    Knock down   
     | debuff =    Knock down   
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 73: Line 76:
     | class =      Warlock
     | class =      Warlock
     | tree =        Arcania
     | tree =        Arcania
     | level =       10
     | position =   10
     | type =        Constant
     | type =        Constant
     | casting =    3
     | casting =    3
     | range =      30
     | range =      30
     | cooldown =    180
     | cooldown =    180
    | duration =    3,4,5,6,7
     | 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
     | debuffs =    Knock down   
     | debuff =    Knock down   
}}
}}


Line 93: Line 96:
     | class =      Mage
     | class =      Mage
     | tree =        Mana control
     | tree =        Mana control
     | level =       6
     | 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 =        Health: 150, 225, 300, 375, 450
     | cost =        0
     | increases =   Mana: +300, +450, +600, +750, +900
    | 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
     | level =       6
     | 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 =        Health: 150, 225, 300, 375, 450
     | cost =        0
     | increases =   Mana: +300, +450, +600, +750, +900
    | selfdamage =  150, 225, 300, 375, 450
     | restore =     Mana: +300, +450, +600, +750, +900
}}
}}


<onlyinclude><includeonly>
<onlyinclude><includeonly>
<table border="1" cellpadding="6" style="border-collapse: collapse; text-align: center;">
'''{{{name}}}''' is the [[{{{class}}}]]'s {{ordinal|{{{position}}}}} {{#ifeq:{{{position}}}|10|and final}} [[{{{class}}}#{{{tree}}}|{{{tree}}}]] skill.
<tr>
<table cellspacing="2" style="text-align:center">
<th></th><th>Level 1</th><th>Level 2</th><th>Level 3</th><th>Level 4</th><th>Level 5</th>
<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}}} | Passive |
        <!-- Show 'cost' -->
    | <tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
        {{skill/parserow | {{#explode: {{{cost}}} | ; | 0 }} | Mana cost }}
  -->{{skill/parserow | {{#explode: {{{cost}}} | ; | 0 }} | Cost | | append }}
 
}}
        <!-- 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>
  }} <!--


{{#ifexpr: {{#ifeq:{{{type}}}|Constant|1|0}} or {{#ifeq:{{{type}}}|Activable|1|0}}
------ If self-damage values are supplied, show them ------
    | {{skill/parserow | {{#explode: {{{duration}}} | ; | 0 }} | Duration | s }}
-->{{#if: {{{selfdamage|}}}
}}
    | {{skill/subtabletop | color = #ffdead | title = Damage on self}}
        {{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 0 }} }}
        {{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 1 }} }}
      </table></td></tr>
  }} <!--


{{#ifexpr: {{#ifeq:{{{type}}}|Instant|1|0}} or {{#ifeq:{{{type}}}|Constant|1|0}}
------ If self-debuffs are supplied, show them ------
     |{{#if: {{{damage|}}}
-->{{#if: {{{selfdebuff|}}}
         |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
     | {{skill/subtabletop | color = #ffdead | title = Debuffs on self}}
      -->{{skill/parserow | {{#explode: {{{damage}}} | ; | 0 }} | Damage | | append }} <!--
         {{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 0 }} }}
      -->{{skill/parserow | {{#explode: {{{damage}}} | ; | 1 }} | Damage | | append }} <!--
        {{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 1 }} }}
       -->{{skill/parserow | {{#explode: {{{damage}}} | ; | 2 }} | Damage | | append }}
       </table></td></tr>
    }}
  }} <!--
}}


{{#if: {{{debuffs|}}}
------ If restore values are supplied, show them ------
     |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
-->{{#if: {{{restore|}}}
-->{{skill/parserow | {{#explode: {{{debuffs}}} | ; | 0 }} | Debuff }} <!--
     | {{skill/subtabletop | color = #aaddff | title = Restore }}
-->{{skill/parserow | {{#explode: {{{debuffs}}} | ; | 1 }} | Debuff }}
        {{skill/parserow | {{#explode: {{{restore}}} | ; | 0 }} }}
}}
        {{skill/parserow | {{#explode: {{{restore}}} | ; | 1 }} }}
      </table></td></tr>
  }} <!--


{{#if: {{{increases|}}}
------ If buffs are supplied, show them ------
     |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
-->{{#if: {{{buff|}}}
-->{{skill/parserow | {{#explode: {{{increases}}} | ; | 0 }} }} <!--
     | {{skill/subtabletop | color = #aaddff | title = Buffs}}
-->{{skill/parserow | {{#explode: {{{increases}}} | ; | 1 }} }}
        {{skill/parserow | {{#explode: {{{buff}}} | ; | 0 }} }}
}}
        {{skill/parserow | {{#explode: {{{buff}}} | ; | 1 }} }}
      </table></td></tr>
  }} <!--


{{#if: {{{buffs|}}}
------ If other values are supplied, show them ------
     |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
-->{{#if: {{{other|}}}
-->{{skill/parserow | {{#explode: {{{buffs}}} | ; | 0 }} | Buff }} <!--
     | {{skill/subtabletop}}
-->{{skill/parserow | {{#explode: {{{buffs}}} | ; | 1 }} | Buff }}
        {{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.

[[Image:{{{name}}} skill icon.jpg]] {{{description}}}

 
Level 1 Level 2Level 3 Level 4Level 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.

[[Image:{{{name}}} skill icon.jpg]] {{{description}}}
  • Type: Constant
  • Casting time: 3
  • Range: 30m
  • Cooldown time: 180
  • Area: 10

 
Level 1 Level 2Level 3 Level 4Level 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.

[[Image:{{{name}}} skill icon.jpg]] {{{description}}}
  • Cooldown time: 25

 
Level 1 Level 2Level 3 Level 4Level 5

 



 Damage on self


 Restore