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:


* iconLetter (optional): a letter that indicates which spell icon file should be used for the spell's icon
* icon (optional): a letter that indicates which spell icon file should be used for the spell's icon
* type (optional): if there is not iconLetter specified this will add a type column to the spell row; if an iconLetter 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 spell's name
* wikiName (optional): the spell's wiki name, if different (eg. "Shield of Thorns (Spell)")
* wikiName (optional): the spell's wiki name, if different (eg. "Shield of Thorns (Spell)")
Line 18: Line 18:
<includeonly>
<includeonly>
<tr>
<tr>
   {{#if: {{{iconLetter|}}} |
   {{#if: {{{icon|}}} |
     <td width='15%'>[[File:Spellicon_{{{iconLetter}}}.png|link=|border|left|alt={{{type|}}}]]</td>
     <td width='15%'>[[File:Spellicon_{{{icon}}}.png|link=|border|left|alt={{{type|}}}]]</td>
   }}
   }}
   <td width='22%'
   <td width='22%'
     >{{#if: {{{wikiName|}}} | [[{{{wikiName|}}}|{{{name|&nbsp;}}}]] | [[{{{name|&nbsp;}}}]] }}</td>
     >{{#if: {{{wikiName|}}} | [[{{{wikiName|}}}|{{{name|&nbsp;}}}]] | [[{{{name|&nbsp;}}}]] }}</td>
   {{#if: {{{iconLetter|}}} | |
   {{#if: {{{icon|}}} | |
     {{#if: {{{type|}}} |
     {{#if: {{{type|}}} |
       <td width='15%'>{{{type|&nbsp;}}}</td>
       <td width='15%'>{{{type|&nbsp;}}}</td>

Revision as of 13:09, 3 September 2020

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

It takes the following parameters:

  • icon (optional): a letter that indicates which spell 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 spell's name
  • wikiName (optional): the spell's wiki name, if different (eg. "Shield of Thorns (Spell)")
  • description: the spell's description
  • era: the EverQuest era the spell was released in
  • school: which school (skill) is sued to cast the spell
  • location: where the spell can be obtained
  • mana: how much mana the spell costs