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 | * 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 | * name: the ability's name | ||
* description: the spell's description | * 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 | ||
* | |||
---- | ---- | ||
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='{{#if: {{{type|}}} |37%|70%}}'>{{{description| }}}</td> | <td width='{{#if: {{{type|}}} |37%|70%}}'>{{{description| }}}</td> | ||
<td width='10%'>{{{Target| }}}</td> | <td width='10%'>{{{Target| }}}</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