Template:Skill/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
created template
 
m 70 revisions imported
 
(71 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>
<onlyinclude><includeonly><!--
'''{{#explode:{{{name}}}|(|0}}''' is the [[{{{class}}}]]'s {{ordinal|{{{position}}}}} {{#ifeq:{{{position}}}|10|and final}} skill of the [[{{{class}}}#{{{discipline}}}|{{{discipline}}}]] discipline.
-->{{#if: {{{quote|}}}
<table cellspacing="2" style="text-align:center">
    | <div style="padding-left:3em; font-style:italic">{{{quote}}}</div><br/>
<tr><td><table valign="top" style="width:100%; text-align:left">
    | [[Category: Power Articles Without Quotes]]
<tr>
  }}
<td colspan="2">Requires: Character level {{#expr:{{{position}}}*4-3}} / discipline level {{#expr:{{{position}}}*2-1}}
'''{{trimd | {{{name}}} }}''' is a [[{{{class}}}]] [[power]]<!--
</td>
-->{{#switch: {{{class}}}
<td rowspan="2" style="width:40%">
    | Warrior|Barbarian|Knight|Archer|Marksman|Hunter|Mage|Warlock|Conjurer|Warmaster = <!--
*Type: [[{{{type}}} skills|{{{type}}}]]
    --><nowiki>:</nowiki> the '''{{ordinal|{{{position}}}}}''' {{#ifeq:{{{position}}}|10|and final}} <!--
{{#ifeq: {{{type}}} | Passive ||
    -->of the [[{{{class}}}#{{{discipline}}}|{{{discipline}}}]] discipline. <!--
*Casting time: {{ifempty | {{{casting|}}} | ? }}s
    -->[[Category:{{{class}}} Powers]] [[Category:{{{class}}} {{{type}}} Powers]]<!--
{{#if: {{{range|}}} |*Range: {{{range}}}m }}
    -->[[Category:{{{discipline}}} Powers by Position|{{#expr: {{{position}}} - 1}}]]
*Cooldown time: {{{cooldown}}}s
    | #default = . [[Category:{{{discipline}}} {{{type}}} Powers]]
{{#if: {{{area|}}} |*Area: {{{area}}}m }}
  }}
}}
 
</td>
<!-- Start the top table
</tr>
--><table cellpadding="2"
<tr> <!-- The explode statement is to take care of "Training (Hunter Skill)" -->
    style="width:100%; border:solid 1px #aaa; text-align:left"
<td style="width:36px">{{#ifexist: Image:{{#explode:{{{name}}}|(|0}} Skill Icon.jpg
  >
  | [[Image:{{#explode:{{{name}}}|(|0}} Skill Icon.jpg]]
    <tr>
  | [[Category: Skill Articles Without Icons]]
      <td rowspan="3" valign="top"><!--
}}</td>
      -->{{#ifexist: Image:{{{icon|}}}
<td style="width:15em">''{{{description}}}''</td>
            | [[Image:{{{icon}}}|64px|left]]
</tr>
            | {{#ifexist: Image:{{trimd|{{{name}}}}} Power Icon.jpg
</table><br/></td></tr> <!--
                  | [[Image:{{trimd|{{{name}}}}} Power Icon.jpg|64px|left]]
                  | {{#ifexist: Image:{{trimd|{{{name}}}}} Power Icon.png
                      | [[Image:{{trimd|{{{name}}}}} Power Icon.png|64px|left]]
                      | [[Category: Power Articles Without Icons]]
                    }}
              }}
        }}
<div style="font-style:italic">{{{description}}}</div>
      </td>
      <td align="right" width="25%">Type: [[{{{type}}} Powers|{{{type}}}]]</td>
    </tr>
    {{#switch: {{{class}}}
      | Warrior|Barbarian|Knight|Archer|Marksman|Hunter|Mage|Warlock|Conjurer|Warmaster =
        <tr>
          <td align="right">Discipline level: {{#expr:{{{position}}}*2-1}}</td>
        </tr>
        <tr>
          {{#ifeq: {{{discipline}}} | Warmaster |
            <td align="right">Character level: 60</td> |
            <td align="right">Character level: {{#expr:{{{position}}}*4-3}}</td>
          }}
        </tr>
      | #default = <tr><td></td></tr> <tr><td></td></tr>
    }}
    <tr>
      <td colspan="2" align="center"><!--
      -->{{#ifeq: {{{type}}} | Passive |
          | <span style="margin:0 1em">Affects: {{{affects}}}</span><!--
          --><span style="margin:0 1em">Casting time: <!--
            -->{{#switch: {{lc:{{{casting}}}}}
                | 0 | instant = 0s (Instant) | #default = {{{casting}}}s
              }}</span><!--
          -->{{#if: {{{range|}}}  
              | <span style="margin:0 1em"> Range: <!--
            -->{{#ifeq: {{{range}}} | 0 | [[Weapon range]] | {{{range}}}m }}</span> }}<!--
          -->{{#if: {{{area|}}}
              | <span style="margin:0 1em">Area: {{{area}}}m</span> }}<!--
          -->{{#if: {{{arc|}}}
              | <span style="margin:0 1em">Arc: {{{arc}}}&deg;</span> }}<!--
          --><span style="margin:0 1em">Cooldown time: {{{cooldown}}}s</span><!--
          --><span style="margin:0 1em">[[Global Cooldown]]: {{{gcd}}}</span>
        }}
      </td>
    </tr>
  </table>
  <table style="background-color:#575b70;width:100%; margin-top:1em; text-align:center;
      border-collapse:collapse; border:none 1px #aaa;" border="1">
<!--


------ Show level headings ------
------ Show level headings ------
-->{{skill/subtabletop | color = #deffad | bordercolor = black}}
--><tr style="background-color:#575b70; border-color:black;">
  <tr>
     <th style="border:solid 1px black">[[Power level]]</th>
     <th></th><th style="width:6em">Level 1</th>
    <th style="border:solid 1px black">Level 1</th>
     <th style="width:6em">Level 2</th><th style="width:6em">Level 3</th>
     <th style="border:solid 1px black">Level 2</th>
     <th style="width:6em">Level 4</th><th style="width:6em">Level 5</th>
    <th style="border:solid 1px black">Level 3</th>
   </tr>
     <th style="border:solid 1px black">Level 4</th>
  </table></td></tr> <!--
    <th style="border:solid 1px black">Level 5</th>
   </tr><!--
   
   
------ If type is not 'Passive'... ------
------ If type is not 'Passive', show cost & duration if supplied ------
-->{{#ifeq: {{{type}}} | Passive |
-->{{#ifeq: {{{type}}} | Passive |
     | {{skill/subtabletop}}
     | {{skill/subtabletop}}
 
      {{skill/parsedata | data = {{{cost}}} | type = Mana cost }}
        <!-- Show 'cost' -->
      {{skill/parsedata | data = {{{duration}}} | type = Spell duration }}
        {{skill/parserow | {{#explode: {{{cost}}} | ; | 0 }} | Mana cost }}
 
        <!-- If duration values are supplied, show them -->
        {{#if: {{{duration|}}}
        | {{skill/parserow | {{#explode: {{{duration}}} | ; | 0 }} | Spell duration | s }}
        }}
      </table></td></tr>
   }} <!--
   }} <!--
   
   
------ If damage values are supplied, show them ------
------ Show damage values are shown if supplied ------
-->{{#if: {{{damage|}}}
-->{{#if: {{{damage|}}}
     | {{skill/subtabletop | color = #ffffaa | title = Damage to enemies}}
     | {{skill/subtabletop | title = Damage to enemies}}
        {{skill/parserow | {{#explode: {{{damage}}} | ; | 0 }} | Damage }}
      {{skill/parsedata | data = {{{damage}}} | type = Damage }}
        {{skill/parserow | {{#explode: {{{damage}}} | ; | 1 }} | Damage }}
        {{skill/parserow | {{#explode: {{{damage}}} | ; | 2 }} | Damage }}
      </table></td></tr>
   }} <!--
   }} <!--


------ If debuffs are supplied, show them ------
------ If debuffs are supplied, show them ------
-->{{#if: {{{debuff|}}}
-->{{#if: {{{debuff|}}}
     | {{skill/subtabletop | color = #aaddff | title = Debuffs on enemies}}
     | {{skill/subtabletop | title = Debuffs on enemies}}
        {{skill/parserow | {{#explode: {{{debuff}}} | ; | 0 }} }}
      {{skill/parsedata | data = {{{debuff}}} | type = Debuff }}
        {{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 }} | Health }}
        {{skill/parserow | {{#explode: {{{selfdamage}}} | ; | 1 }} | Health }}
      </table></td></tr>
   }} <!--
   }} <!--


------ If self-debuffs are supplied, show them ------  
------ If self-debuffs are supplied, show them ------  
-->{{#if: {{{selfdebuff|}}}
-->{{#if: {{{selfdebuff|}}}
     | {{skill/subtabletop | color = #ffdead | title = Debuffs on self}}
     | {{skill/subtabletop | title = Debuffs on self}}
        {{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 0 }} }}
      {{skill/parsedata | data = {{{selfdebuff}}} | type = Debuff }}
        {{skill/parserow | {{#explode: {{{selfdebuff}}} | ; | 1 }} }}
      </table></td></tr>
   }} <!--
   }} <!--


------ If restore values are supplied, show them ------  
------ If restore values are supplied, show them ------  
-->{{#if: {{{restore|}}}
-->{{#if: {{{restore|}}}
     | {{skill/subtabletop | color = #aaddff | title = Restore}}
     | {{skill/subtabletop | title = Restore}}
        {{skill/parserow | {{#explode: {{{restore}}} | ; | 0 }} }}
      {{skill/parsedata | data = {{{restore}}} | type = Restore }}
        {{skill/parserow | {{#explode: {{{restore}}} | ; | 1 }} }}
      </table></td></tr>
   }} <!--
   }} <!--


------ If buffs are supplied, show them ------
------ If buffs are supplied, show them ------
-->{{#if: {{{buff|}}}
-->{{#if: {{{buff|}}}
     | {{skill/subtabletop | color = #aaddff | title = Buffs}}
     | {{skill/subtabletop | title = Buffs}}
        {{skill/parserow | {{#explode: {{{buff}}} | ; | 0 }} }}
      {{skill/parsedata | data = {{{buff}}} | type = Buff }}
        {{skill/parserow | {{#explode: {{{buff}}} | ; | 1 }} }}
      </table></td></tr>
   }} <!--
   }} <!--


Line 100: Line 122:
-->{{#if: {{{other|}}}
-->{{#if: {{{other|}}}
     | {{skill/subtabletop}}
     | {{skill/subtabletop}}
        {{skill/parserow | {{#explode: {{{other}}} | ; | 0 }} }}
      {{skill/parsedata | data = {{{other}}} | type = Other }}
      </table></td></tr>
   }} <!--
   }} <!--


--></table><!--
--></table>
--><!-- Categories -->
 
[[Category:Skills]] [[Category:{{{discipline}}} Skills]] [[Category:{{{class}}} Skills]] [[Category: {{{type}}} Skills]] [[Category:{{{class}}} {{{type}}} Skills]]
{{#if: {{{notes|}}}
  | ==Notes==
<!--
-->{{{notes}}}
  | [[Category:{{{class}}} Power Articles Without Notes]]
}}
{{#if: {{{bug|}}}
  | <div style="margin-top: 1em; padding: 0.5em;
                background-color: #37383f; border: solid 1px #C0C66D"><!--
  -->'''Bug:''' {{{bug}}}</div> [[Category:Bugged Powers]]
}}
 
<!-- Categories -->
[[Category:Powers]] [[Category:{{{discipline}}} Powers]] [[Category: {{{type}}} Powers]]
{{#if: {{{affects|}}} || [[Category:Unchecked Power Articles]] }}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Latest revision as of 17:57, 6 November 2020