Template:Skill: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
m (fixing icon not showing)
m (40 revisions imported)
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Template for the [[skill]] articles.
Template for the [[skill]] articles.


{{new skill box}}
Copy this text into a new article. Any unused fields can be left as they are or (preferably) removed.
 
Alternatively copy this text into a new article. Any unused fields can be left as they are.


<pre>
<pre>
Line 10: Line 8:
     | discipline  = <!-- The name of the skill discipline -->
     | discipline  = <!-- The name of the skill discipline -->
     | position    = <!-- The position of the skill in its discipline (1-10) (number only) -->
     | position    = <!-- The position of the skill in its discipline (1-10) (number only) -->
     | type        = <!-- Instant|Constant|Activable|Aura|Passive -->
     | type        = <!-- Direct|Constant|Activable|Aura|Passive -->
     | description = <!-- Skill decription -->
    | summary    = <!-- Very short summary of what the power does (optional) -->
     | description = <!-- The in-game description -->
    | affects    =
     | 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) -->
    | gcd        = <!-- Global Cooldown -->
     | area        = <!-- Area affected (number only) -->
     | area        = <!-- Area affected (number only) -->
     | cost        = <!-- The mana cost of the spell -->
     | cost        = <!-- The mana cost of the spell -->
Line 24: Line 25:
     | buff        = <!-- Any positive status changes/effects to self/allies -->
     | buff        = <!-- Any positive status changes/effects to self/allies -->
     | other      = <!-- Any other per-level values -->
     | other      = <!-- Any other per-level values -->
    | quote      =
    | icon        = <!-- Optional parameter to override the default icon -->
<noinclude>
    | notes      = <!-- General notes on the skill -->
</noinclude>
}}&lt;/onlyinclude&gt;
}}&lt;/onlyinclude&gt;
</pre>
</pre>
Line 30: Line 38:
  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 ==


=== Focus ===
=== [[Focus]] ===
<pre>
<pre>
{{skill | {{{1|}}} | name = Focus
{{skill | {{{1|}}} | name = Focus
     | class =      Marksman
     | class =      Marksman
     | discipline =       Aiming mastery
     | discipline = Aiming mastery
     | position =    2
     | position =    2
     | type =        Activable
     | type =        Activable
Line 49: Line 55:
}}
}}
</pre>
</pre>
Gives:
{{skill | {{{1|}}} | name = Focus
    | class =      Marksman
    | discipline  =        Aiming mastery
    | position =    2
    | type =        Activable
    | description = The marksman greatly improves spell impact chances on offensive powers.
    | cooldown =    20
    | cost =        40, 55, 70, 85, 100
    | selfdebuff =  Movement speed: -25%
    | buff =        Spell focus: 20%, 40%, 60%, 80%, 100%
}}


=== Sultar's Terror ===
=== [[Sultar's Terror]] ===
<pre><nowiki>
<pre><nowiki>
{{skill | {{{1|}}} | name = Sultar's Terror
{{skill | {{{1|}}} | name = Sultar's Terror
     | class =      Warlock
     | class =      Warlock
     | discipline  =       Arcania
     | discipline  = Arcania
    | position =    10
    | type =        Constant
    | description = An illusory giant skull provokes fear over its enemies, petrifying and inflicting slashing and piercing damage to them.
    | 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 
}}
</nowiki></pre>
Gives:
{{skill | {{{1|}}} | name = Sultar's Terror
    | class =      Warlock
    | discipline  =        Arcania
     | position =    10
     | position =    10
     | type =        Constant
     | type =        Constant
     | description = An illusory giant skull provokes fear over its enemies, petrifying and inflicting slashing and piercing damage to them.
     | description = An illusory giant skull provokes fear over its enemies,  
                    petrifying and inflicting slashing and piercing damage to them.
     | casting =    3
     | casting =    3
     | range =      30
     | range =      30
Line 99: Line 75:
                     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   
     | debuff =      Knock down   
}}
=== Ambitious sacrifice ===
<pre><nowiki>
{{skill | {{{1|}}} | name = Ambitious sacrifice
    | class =      Mage
    | discipline  =        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
}}
}}
</nowiki></pre>
</nowiki></pre>
Gives:
{{skill | {{{1|}}} | name = Ambitious sacrifice
    | class =      Mage
    | discipline  =        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
}}
<onlyinclude><includeonly>
'''{{{name}}}''' is the [[{{{class}}}]]'s {{ordinal|{{{position}}}}} {{#ifeq:{{{position}}}|10|and final}} skill of the [[{{{class}}}#{{{discipline}}}|{{{discipline}}}]] discipline.
<table cellspacing="2" style="text-align:center">
<tr><td><table valign="top" style="width:100%; text-align:left">
<tr>
<td colspan="2">Requires: Character level {{#expr:{{{position}}}*4-3}} / discipline level {{#expr:{{{position}}}*2-1}}
</td>
<td rowspan="2" style="width:40%">
*Type: [[{{{type}}} skills|{{{type}}}]]
{{#ifeq: {{{type}}} | Passive ||
*Casting time: {{ifempty | {{{casting|}}} | ? }}s
{{#if: {{{range|}}} |*Range: {{{range}}}m }}
*Cooldown time: {{{cooldown}}}s
{{#if: {{{area|}}} |*Area: {{{area}}}m }}
}}
</td>
</tr>
<tr> <!-- The explode statement is to take care of "Training (Hunter Skill)" -->
<td style="width:36px">{{#ifexist: Image:{{#explode:{{{name}}}|(|0}} Skill Icon.jpg
  | [[Image:{{#explode:{{{name}}}|(|0}} Skill Icon.jpg]]
  | [[Category: Skill Articles Without Icons]]
}}</td>
<td style="width:15em">''{{{description}}}''</td>
</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}}


        <!-- Show 'cost' -->
        {{skill/parserow | {{#explode: {{{cost}}} | ; | 0 }} | Mana cost }}


        <!-- If duration values are supplied, show them -->
<onlyinclude><includeonly><!--
        {{#if: {{{duration|}}}
-->{{#ifexpr: {{qd | {{{1|}}} | 1 | {{{class}}}     }} and
        | {{skill/parserow | {{#explode: {{{duration}}} | ; | 0 }} | Spell duration | s }}
              {{qd | {{{1|}}} | 2 | {{{discipline}}} }}
        }}
      </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 ------
    | {{skill/{{#switch: {{PAGENAME}}
-->{{#if: {{{debuff|}}}
                | {{{name}}} = full
    | {{skill/subtabletop | color = #aaddff | title = Debuffs on enemies}}
                | #default = {{#explode: {{#if: {{{1|}}} | {{{1}}} | iconname}} | ; }}
        {{skill/parserow | {{#explode: {{{debuff}}} | ; | 0 }} }}
              }}
        {{skill/parserow | {{#explode: {{{debuff}}} | ; | 1 }} }}
        | {{{1|}}}                      
      </table></td></tr>
        | name = {{{name}}}
  }} <!--
        | class = {{{class|}}}          
 
        | discipline = {{{discipline|}}}
------ If self-damage values are supplied, show them ------
        | position = {{{position|}}}    
-->{{#if: {{{selfdamage|}}}
        | type = {{{type|}}}
    | {{skill/subtabletop | color = #ffdead | title = Damage on self}}
        | summary = {{{summary|}}}
        {{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 0 }} | Health }}
        | description = {{{description|}}}  
        {{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 1 }} | Health }}
        | casting = {{{casting|}}}      
      </table></td></tr>
        | range = {{{range|}}}
  }} <!--
        | cooldown = {{{cooldown|}}}  
 
        | gcd = {{{gcd|}}}     
------ If self-debuffs are supplied, show them ------
        | area = {{{area|}}}
-->{{#if: {{{selfdebuff|}}}
        | arc = {{{arc|}}}
    | {{skill/subtabletop | color = #ffdead | title = Debuffs on self}}
        | cost = {{{cost|}}}            
        {{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 0 }} }}
        | duration = {{{duration|}}}
        {{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 1 }} }}
        | damage = {{{damage|}}}        
      </table></td></tr>
        | debuff = {{{debuff|}}}
   }} <!--
        | selfdebuff = {{{selfdebuff|}}}  
 
        | restore = {{{restore|}}}
------ If restore values are supplied, show them ------
        | buff = {{{buff|}}}            
-->{{#if: {{{restore|}}}
        | other = {{{other|}}}
    | {{skill/subtabletop | color = #aaddff | title = Restore}}
        | affects = {{{affects|}}}       
        {{skill/parserow | {{#explode: {{{restore}}} | ; | 0 }} }}
        | bug  = {{{bug|}}}
        {{skill/parserow | {{#explode: {{{restore}}} | ; | 1 }} }}
        | quote = {{{quote|}}}          
      </table></td></tr>
        | notes = {{{notes|}}}
  }} <!--
        | icon = {{{icon|}}}
 
      }}  
------ If buffs are supplied, show them ------
  }}<!--
-->{{#if: {{{buff|}}}
--></includeonly></onlyinclude>
    | {{skill/subtabletop | color = #aaddff | title = Buffs}}
        {{skill/parserow | {{#explode: {{{buff}}} | ; | 0 }} }}
        {{skill/parserow | {{#explode: {{{buff}}} | ; | 1 }} }}
      </table></td></tr>
  }} <!--
 
------ If other values are supplied, show them ------
-->{{#if: {{{other|}}}
    | {{skill/subtabletop}}
        {{skill/parserow | {{#explode: {{{other}}} | ; | 0 }} }}
       </table></td></tr>
  }}
 
</table><!--
--><!-- Categories -->
{{#ifeq: {{FULLPAGENAME}} | Template:Skill | |
[[Category:Skills]] [[Category:{{{discipline}}} Skills]] [[Category:{{{class}}} Skills]] [[Category: {{{type}}} Skills]] [[Category:{{{class}}} {{{type}}} Skills]]
}}
</includeonly></onlyinclude>

Latest revision as of 17:57, 6 November 2020

Template for the skill articles.

Copy this text into a new article. Any unused fields can be left as they are or (preferably) removed.

<onlyinclude>{{skill | {{{1|}}} | name = {{subst:PAGENAME}}
    | class       = <!-- Warrior|Barbarian|Knight|Archer|Marksman|Hunter|Mage|Warlock|Conjurer -->
    | discipline  = <!-- The name of the skill discipline -->
    | position    = <!-- The position of the skill in its discipline (1-10) (number only) -->
    | type        = <!-- Direct|Constant|Activable|Aura|Passive -->
    | summary     = <!-- Very short summary of what the power does (optional) -->
    | description = <!-- The in-game description -->
    | affects     =
    | casting     = <!-- Casting time (number only) -->
    | range       = <!-- Range (number only) -->
    | cooldown    = <!-- Cooldown (number only) -->
    | gcd         = <!-- Global Cooldown -->
    | 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 status changes or effects to enemies -->  
    | selfdebuff  = <!-- Any negative status changes or effects to self -->  
    | restore     = <!-- Increases to self/ally health/mana -->
    | buff        = <!-- Any positive status changes/effects to self/allies -->
    | other       = <!-- Any other per-level values -->
    | quote       = 
    | icon        = <!-- Optional parameter to override the default icon -->

<noinclude>
    | notes       = <!-- General notes on the skill -->

</noinclude>
}}</onlyinclude>

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.

Examples[edit source]

Focus[edit source]

{{skill | {{{1|}}} | name = Focus
    | class =       Marksman
    | discipline =  Aiming mastery
    | position =    2
    | type =        Activable
    | description = The marksman greatly improves spell impact chances on offensive powers.
    | cooldown =    20
    | cost =        40, 55, 70, 85, 100
    | selfdebuff =  Movement speed: -25%
    | buff =        Spell focus: 20%, 40%, 60%, 80%, 100%
}}

Sultar's Terror[edit source]

{{skill | {{{1|}}} | name = Sultar's Terror
    | class =       Warlock
    | discipline  = Arcania
    | position =    10
    | type =        Constant
    | description = An illusory giant skull provokes fear over its enemies, 
                    petrifying and inflicting slashing and piercing damage to them.
    | 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  
}}