Template:Skill/full: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
mNo edit summary
ROWiki>Onteron
converting sub-tables into single table
Line 1: Line 1:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
-->'''{{trimd | {{{name}}} }}''' is the [[{{{class}}}]]'s {{ordinal|{{{position}}}}} {{#ifeq:{{{position}}}|10|and final}} skill of the [[{{{class}}}#{{{discipline}}}|{{{discipline}}}]] discipline.
-->'''{{trimd | {{{name}}} }}''' is a [[{{{class}}}]] skill: the '''{{ordinal|{{{position}}}}}''' {{#ifeq:{{{position}}}|10|and final}} of the [[{{{class}}}#{{{discipline}}}|{{{discipline}}}]] discipline.


<!-- Start the big table
<!-- Start the top table
--><table cellspacing="2" style="text-align:center">
--><table cellpadding="2"
     <tr><td><table cellpadding="2"
     style="width:700px; border:solid 1px #aaa; text-align:left"
              style="width:100%; border:solid 1px #aaa; text-align:left"
  >
    >
    <tr>
      <tr>
      <td rowspan="3" valign="top"><!--
        <td rowspan="3" valign="top"><!--
      -->{{#ifexist: Image:{{trimd|{{{name}}}}} Skill Icon.jpg
        -->{{#ifexist: Image:{{trimd|{{{name}}}}} Skill Icon.jpg
          | [[Image:{{trimd|{{{name}}}}} Skill Icon.jpg|||left]]
            | [[Image:{{trimd|{{{name}}}}} Skill Icon.jpg|||left]]
          | [[Category: Skill Articles Without Icons]]
            | [[Category: Skill Articles Without Icons]]
        }} <div style="font-style:italic">{{{description}}}</div>
          }} <div style="font-style:italic">{{{description}}}</div>
      </td>
        </td>
      <td align="right" width="25%">Type: [[{{{type}}}]]</td>
        <td align="right" width="25%">Type: [[{{{type}}}]]</td>
    </tr>
      </tr>
    <tr>
      <tr>
      <td align="right">Discipline level: {{#expr:{{{position}}}*2-1}}</td>
        <td align="right">Discipline level: {{#expr:{{{position}}}*2-1}}</td>
    </tr>
      </tr>
    <tr>
      <tr>
      <td align="right">Character level: {{#expr:{{{position}}}*4-3}}</td>
        <td align="right">Character level: {{#expr:{{{position}}}*4-3}}</td>
    </tr>
      </tr>
    <tr>
      <tr>
      <td colspan="2" align="center"><!--
        <td colspan="2" align="center"><!--
      -->{{#ifeq: {{{type}}} | Passive |
        -->{{#ifeq: {{{type}}} | Passive |
          | <span style="margin:0 1em">Casting time: {{{casting}}}s</span><!--
            | <span style="margin:0 1em">Casting time: {{{casting}}}s</span><!--
          -->{{#if: {{{range|}}}  
            -->{{#if: {{{range|}}}  
              | <span style="margin:0 1em">Range: {{{range}}}m</span> }}<!--
                | <span style="margin:0 1em">Range: {{{range}}}m</span> }}<!--
          -->{{#if: {{{area|}}}  
            -->{{#if: {{{area|}}}  
              | <span style="margin:0 1em">Area: {{{area}}}m</span> }}<!--
                | <span style="margin:0 1em">Area: {{{area}}}m</span> }}<!--
          --><span style="margin:0 1em">Cooldown time: {{{cooldown}}}s</span>
            --><span style="margin:0 1em">Cooldown time: {{{cooldown}}}s</span>
        }}
          }}
      </td>
        </td>
    </tr>
      </tr>
  </table>
    </table></td></tr>
  <table style="width:700px; margin-top:1em; text-align:center;
      border-collapse:collapse; border:none 1px #aaa;" border="1">
<!--
<!--


------ Show level headings ------
------ Show level headings ------
-->{{skill/subtabletop | bordercolor = black}}
--><tr style="background-color:#deffad; border-color:black;">
     {{skill/parsedata
     <th style="border:solid 1px black"></th>
      | data = : Level 1, Level 2, Level 3, Level 4, Level 5
    <th style="border:solid 1px black">Level 1</th>
      | type = Level  
    <th style="border:solid 1px black">Level 2</th>
     }}
    <th style="border:solid 1px black">Level 3</th>
  </table></td></tr> <!--
    <th style="border:solid 1px black">Level 4</th>
     <th style="border:solid 1px black">Level 5</th>
  </tr><!--
   
   
------ If type is not 'Passive', show cost & duration if supplied ------
------ 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 {{!}} Mana cost }}
      {{skill/parsedata | data = {{{cost}}} | type = Mana {{!}} Mana cost }}
        {{skill/parsedata | data = {{{duration}}} | type = Spell duration }}
      {{skill/parsedata | data = {{{duration}}} | type = Spell duration }}
      </table></td></tr>
   }} <!--
   }} <!--
   
   
Line 56: Line 58:
-->{{#if: {{{damage|}}}
-->{{#if: {{{damage|}}}
     | {{skill/subtabletop | title = Damage to enemies}}
     | {{skill/subtabletop | title = Damage to enemies}}
        {{skill/parsedata | data = {{{damage}}} | type = Damage }}
      {{skill/parsedata | data = {{{damage}}} | type = Damage }}
      </table></td></tr>
   }} <!--
   }} <!--


Line 63: Line 64:
-->{{#if: {{{debuff|}}}
-->{{#if: {{{debuff|}}}
     | {{skill/subtabletop | title = Debuffs on enemies}}
     | {{skill/subtabletop | title = Debuffs on enemies}}
        {{skill/parsedata | data = {{{debuff}}} | type = Debuff }}
      {{skill/parsedata | data = {{{debuff}}} | type = Debuff }}
      </table></td></tr>
   }} <!--
   }} <!--


Line 70: Line 70:
-->{{#if: {{{selfdebuff|}}}
-->{{#if: {{{selfdebuff|}}}
     | {{skill/subtabletop | title = Debuffs on self}}
     | {{skill/subtabletop | title = Debuffs on self}}
        {{skill/parsedata | data = {{{selfdebuff}}} | type = Debuff }}
      {{skill/parsedata | data = {{{selfdebuff}}} | type = Debuff }}
      </table></td></tr>
   }} <!--
   }} <!--


Line 77: Line 76:
-->{{#if: {{{restore|}}}
-->{{#if: {{{restore|}}}
     | {{skill/subtabletop | title = Restore}}
     | {{skill/subtabletop | title = Restore}}
        {{skill/parsedata | data = {{{restore}}} | type = Restore }}
      {{skill/parsedata | data = {{{restore}}} | type = Restore }}
      </table></td></tr>
   }} <!--
   }} <!--


Line 84: Line 82:
-->{{#if: {{{buff|}}}
-->{{#if: {{{buff|}}}
     | {{skill/subtabletop | title = Buffs}}
     | {{skill/subtabletop | title = Buffs}}
        {{skill/parsedata | data = {{{buff}}} | type = Buff }}
      {{skill/parsedata | data = {{{buff}}} | type = Buff }}
      </table></td></tr>
   }} <!--
   }} <!--


Line 91: Line 88:
-->{{#if: {{{other|}}}
-->{{#if: {{{other|}}}
     | {{skill/subtabletop}}
     | {{skill/subtabletop}}
        {{skill/parsedata | data = {{{other}}} | type = Other }}
      {{skill/parsedata | data = {{{other}}} | type = Other }}
      </table></td></tr>
   }} <!--
   }} <!--



Revision as of 21:28, 30 November 2008