Difference between revisions of "Template:SpellRow"
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 | ||
* type (optional): if there is not | * 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: {{{ | {{#if: {{{icon|}}} | | ||
<td width='15%'>[[File:Spellicon_{{{ | <td width='15%'>[[File:Spellicon_{{{icon}}}.png|link=|border|left|alt={{{type|}}}]]</td> | ||
}} | }} | ||
<td width='22%' | <td width='22%' | ||
>{{#if: {{{wikiName|}}} | [[{{{wikiName|}}}|{{{name| }}}]] | [[{{{name| }}}]] }}</td> | >{{#if: {{{wikiName|}}} | [[{{{wikiName|}}}|{{{name| }}}]] | [[{{{name| }}}]] }}</td> | ||
{{#if: {{{ | {{#if: {{{icon|}}} | | | ||
{{#if: {{{type|}}} | | {{#if: {{{type|}}} | | ||
<td width='15%'>{{{type| }}}</td> | <td width='15%'>{{{type| }}}</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