Template:Skill: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
Template for skills; first draft
 
m 40 revisions imported
 
(43 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<center>
Template for the [[skill]] articles.
'''This template is a work in progress!'''
</center>


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


<pre><nowiki>
<pre>
{{skill
&lt;onlyinclude&gt;{{skill | {{{1|}}} | name = {{subst:PAGENAME}}
     | 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 -->
     | discipline  = <!-- The name of the skill discipline -->
     | 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 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) -->
     | casting =     <!-- Casting time (number only) -->
     | description = <!-- The in-game description -->
     | range =       <!-- Range (number only) -->
    | affects    =
     | cooldown =   <!-- Cooldown (number only) -->
     | casting     = <!-- Casting time (number only) -->
     | duration =   <!-- Duration of skill (only for Constant/Activable) (number only) -->
     | range       = <!-- Range (number only) -->
     | area =       <!-- Area affected (number only) -->
     | cooldown   = <!-- Cooldown (number only) -->
     | cost =       <!-- The mana cost of the spell -->
     | gcd        = <!-- Global Cooldown -->
     | damage =     <!-- Damage to enemy health/mana -->
     | area       = <!-- Area affected (number only) -->
     | debuffs =    <!-- Any negative changes or status effects -->   
     | cost       = <!-- The mana cost of the spell -->
     | increases =   <!-- Increases to ally health/mana. Needs a better name -->
    | duration    = <!-- Duration of skill (only for Constant/Activable) (number only) -->
     | buffs =       <!-- Any positive status changes/effects to allies -->
     | damage     = <!-- Damage to enemy health/mana -->
}}
     | debuff      = <!-- Any negative status changes or effects to enemies --> 
</nowiki></pre>
     | 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>
}}&lt;/onlyinclude&gt;
</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  
Line 31: Line 41:
== Examples ==
== Examples ==


=== Foresight ===
=== [[Focus]] ===
<pre><nowiki>
<pre>
{{skill
{{skill | {{{1|}}} | name = Focus
     | class = Marksman
     | class =       Marksman
     | tree = Aiming mastery
     | discipline = Aiming mastery
     | level = 4
     | position =   2
     | type = Passive
     | type =       Activable
    | buffs = Attack range: 5%, 7%, 9%, 12%, 15%
     | description = The marksman greatly improves spell impact chances on offensive powers.
}}
     | cooldown =   20
</nowiki></pre>
     | cost =       40, 55, 70, 85, 100
Gives:
     | selfdebuff = Movement speed: -25%
{{skill
     | buff =       Spell focus: 20%, 40%, 60%, 80%, 100%
     | class = Marksman
     | tree = Aiming mastery
     | level = 4
     | type = Passive
     | buffs = Attack range: 5%, 7%, 9%, 12%, 15%
}}
}}
</pre>


=== Sultar's Terror ===
=== [[Sultar's Terror]] ===
<pre></nowiki>
<pre><nowiki>
{{skill
{{skill | {{{1|}}} | name = Sultar's Terror
     | class =      Warlock
     | class =      Warlock
     | tree =       Arcania
     | discipline  = Arcania
     | level =       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.
     | 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
    | 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
    | debuffs =    Knock down 
}}
</nowiki></pre>
Gives:
{{skill
    | class =      Warlock
    | tree =        Arcania
    | level =      10
    | type =        Constant
    | casting =    3
    | range =      30
    | cooldown =    180
     | duration =    3,4,5,6,7
     | duration =    3,4,5,6,7
    | area =        10
    | cost =        400,425,450,475,500
     | 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   
}}
 
=== Ambitious sacrifice ===
 
<pre><nowiki>
{{skill
    | class =      Mage
    | tree =        Mana control
    | level =      6
    | type =        Instant
    | description  The wizard sacrifices his health to recover magical power.
    | casting =    1
    | cooldown =    25
    | cost =        Health: 150, 225, 300, 375, 450
    | increases =  Mana: +300, +450, +600, +750, +900
}}
}}
</nowiki></pre>
</nowiki></pre>
Gives:
{{skill
    | class =      Mage
    | tree =        Mana control
    | level =      6
    | type =        Instant
    | description  The wizard sacrifices his health to recover magical power.
    | casting =    1
    | cooldown =    25
    | cost =        Health: 150, 225, 300, 375, 450
    | increases =  Mana: +300, +450, +600, +750, +900
}}


<onlyinclude><includeonly>
<table border="1" cellpadding="6" style="border-collapse: collapse; text-align: center;">
<tr>
<th></th><th>Level 1</th><th>Level 2</th><th>Level 3</th><th>Level 4</th><th>Level 5</th>
</tr>


<onlyinclude><includeonly><!--
-->{{#ifexpr:  {{qd | {{{1|}}} | 1 | {{{class}}}      }} and
              {{qd | {{{1|}}} | 2 | {{{discipline}}} }}


{{#ifeq: {{{type}}} | Passive |
    | {{skill/{{#switch: {{PAGENAME}}
    | <tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
                | {{{name}}} = full
  -->{{skill/parserow | {{#explode: {{{cost}}} | ; | 0 }} | Cost | | append }}
                | #default = {{#explode: {{#if: {{{1|}}} | {{{1}}} | iconname}} | ; }}
}}
              }}
 
        | {{{1|}}}                     
{{#ifexpr: {{#ifeq:{{{type}}}|Constant|1|0}} or {{#ifeq:{{{type}}}|Activable|1|0}}
        | name = {{{name}}}
    | {{skill/parserow | {{#explode: {{{duration}}} | ; | 0 }} | Duration | s }}
        | class = {{{class|}}}          
}}
        | discipline = {{{discipline|}}}
 
        | position = {{{position|}}}    
{{#ifexpr: {{#ifeq:{{{type}}}|Instant|1|0}} or {{#ifeq:{{{type}}}|Constant|1|0}}
        | type = {{{type|}}}
    |{{#if: {{{damage|}}}
        | summary = {{{summary|}}}
        |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
        | description = {{{description|}}}  
      -->{{skill/parserow | {{#explode: {{{damage}}} | ; | 0 }} | Damage | | append }} <!--
        | casting = {{{casting|}}}      
      -->{{skill/parserow | {{#explode: {{{damage}}} | ; | 1 }} | Damage | | append }} <!--
        | range = {{{range|}}}
      -->{{skill/parserow | {{#explode: {{{damage}}} | ; | 2 }} | Damage | | append }}
        | cooldown = {{{cooldown|}}}
    }}
        | gcd = {{{gcd|}}}  
}}
        | area = {{{area|}}}
 
        | arc = {{{arc|}}}
{{#if: {{{debuffs|}}}
        | cost = {{{cost|}}}            
    |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
        | duration = {{{duration|}}}
-->{{skill/parserow | {{#explode: {{{debuffs}}} | ; | 0 }} | Debuff }} <!--
        | damage = {{{damage|}}}        
-->{{skill/parserow | {{#explode: {{{debuffs}}} | ; | 1 }} | Debuff }}
        | debuff = {{{debuff|}}}
}}
        | selfdebuff = {{{selfdebuff|}}}  
 
        | restore = {{{restore|}}}
{{#if: {{{increases|}}}
        | buff = {{{buff|}}}            
    |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
        | other = {{{other|}}}
-->{{skill/parserow | {{#explode: {{{increases}}} | ; | 0 }} }} <!--
        | affects = {{{affects|}}}      
-->{{skill/parserow | {{#explode: {{{increases}}} | ; | 1 }} }}
        | bug  = {{{bug|}}}
}}
        | quote = {{{quote|}}}          
 
        | notes = {{{notes|}}}
{{#if: {{{buffs|}}}
        | icon = {{{icon|}}}
    |<tr><td colspan="6" style="border: none;padding:2px"></td></tr><!--
      }}  
-->{{skill/parserow | {{#explode: {{{buffs}}} | ; | 0 }} | Buff }} <!--
  }}<!--
-->{{skill/parserow | {{#explode: {{{buffs}}} | ; | 1 }} | Buff }}
--></includeonly></onlyinclude>
}}
 
</table>
</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]
{{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%
}}
{{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  
}}