Difference between revisions of "Template:SpellRow"

From Vanguard Wiki
Jump to navigation Jump to search
Line 4: Line 4:
It takes the following parameters:
It takes the following parameters:


* icon (optional): a letter that indicates which spell icon file should be used for the spell's icon
* icon: icon file should be used for the spell's icon
* type (optional): if there is not icon specified this will add a type column to the spell row; if an icon is specified the type will instead become the "alt" text for the icon
* type (optional): if there is not icon specified this will add a type column to the spell row; if an icon is specified the type will instead become the "alt" text for the icon
* name: the spell's name
* name: the ability's name
* wikiName (optional): the spell's wiki name, if different (eg. "Shield of Thorns (Spell)")
* description: the spell's description
* description: the spell's description
* era: the EverQuest era the spell was released in
* Target: which school (skill) is sued to cast the spell
* school: which school (skill) is sued to cast the spell
* Endurance: where the spell can be obtained
* location: where the spell can be obtained
* Energy: how much mana the spell costs
* mana: how much mana the spell costs


----
----
Line 20: Line 18:
   {{#if: {{{icon|}}} |
   {{#if: {{{icon|}}} |
     <td width='15%'>[[File:{{{icon}}}.png|link=|border|left|alt={{{type|}}}]]</td>
     <td width='15%'>[[File:{{{icon}}}.png|link=|border|left|alt={{{type|}}}]]</td>
  }}
  <td width='22%'
    >{{#if: {{{wikiName|}}} | [[{{{wikiName|}}}|{{{name|&nbsp;}}}]] | [[{{{name|&nbsp;}}}]] }}</td>
  {{#if: {{{icon|}}} | |
    {{#if: {{{type|}}} |
      <td width='15%'>{{{type|&nbsp;}}}</td>
    }}
  }}
   <td width='{{#if: {{{type|}}} |37%|70%}}'>{{{description|&nbsp;}}}</td>
   <td width='{{#if: {{{type|}}} |37%|70%}}'>{{{description|&nbsp;}}}</td>
   <td width='10%'>{{{Target|&nbsp;}}}</td>
   <td width='10%'>{{{Target|&nbsp;}}}</td>

Revision as of 13:46, 3 September 2020

A single row (for a single spell) on a class spell list.

It takes the following parameters:

  • icon: icon file should be used for the spell's icon
  • type (optional): if there is not icon specified this will add a type column to the spell row; if an icon is specified the type will instead become the "alt" text for the icon
  • name: the ability's name
  • description: the spell's description
  • Target: which school (skill) is sued to cast the spell
  • Endurance: where the spell can be obtained
  • Energy: how much mana the spell costs