Difference between revisions of "Template:SpellRow"

From Vanguard Wiki
Jump to navigation Jump to search
Line 15: Line 15:
</noinclude>
</noinclude>
<includeonly>
<includeonly>
<tr>
<tr>
   {{#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='{{#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:47, 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