Difference between revisions of "Template:Spell"
From sureai
(Fixed image size) |
(Added usage & examples) |
||
Line 16: | Line 16: | ||
|- | |- | ||
|} | |} | ||
+ | <noinclude> | ||
+ | == Usage == | ||
+ | === Parameters === | ||
+ | ''All parameters are optional.'' | ||
+ | |||
+ | * '''Text Parameters:''' image, name, school, effects, ranks, memories | ||
+ | |||
+ | If the parameter "name" is left empty, the template will use the current page's title (without the namespace) as the spell name. | ||
+ | |||
+ | === Available Images === | ||
+ | <gallery mode = "nolines" showfilename = true> | ||
+ | File:EN-Combat-Elementarism-icon.png | ||
+ | File:EN-Combat-Light Magic-icon.png | ||
+ | File:EN-Combat-Mentalism-icon.png | ||
+ | File:EN-Combat-Psionics-icon.png | ||
+ | File:EN-Combat-Entropy-icon.png | ||
+ | </gallery> | ||
+ | |||
+ | == Examples == | ||
+ | |||
+ | <pre> | ||
+ | {{Spell | ||
+ | | name = The Great Spell | ||
+ | | image = EN-Combat-Entropy-icon.png | ||
+ | | school = Entropy | ||
+ | | effects = Destroys the whole world | ||
+ | | ranks = I to XX | ||
+ | | memories = [[Enderal:Mage#Sinistrope|Sinistrope]] | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{Spell | ||
+ | | name = The Great Spell | ||
+ | | image = EN-Combat-Entropy-icon.png | ||
+ | | school = Entropy | ||
+ | | effects = Destroys the whole world | ||
+ | | ranks = I to XX | ||
+ | | memories = [[Enderal:Mage#Sinistrope|Sinistrope]] | ||
+ | }} | ||
+ | |||
+ | <pre> | ||
+ | {{Spell | ||
+ | | name = The Boring Spell | ||
+ | | effects = Summons a school textbook | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | {{Spell | ||
+ | | name = The Boring Spell | ||
+ | | effects = Summons a school textbook | ||
+ | }} | ||
+ | |||
+ | <pre> | ||
+ | {{Spell}} | ||
+ | </pre> | ||
+ | |||
+ | {{Spell}} | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 01:54, 13 September 2016
Spell | |
School: | - |
Effect(s): | - |
Ranks: | - |
Memories: | - |
Usage
Parameters
All parameters are optional.
- Text Parameters: image, name, school, effects, ranks, memories
If the parameter "name" is left empty, the template will use the current page's title (without the namespace) as the spell name.
Available Images
Examples
{{Spell | name = The Great Spell | image = EN-Combat-Entropy-icon.png | school = Entropy | effects = Destroys the whole world | ranks = I to XX | memories = [[Enderal:Mage#Sinistrope|Sinistrope]] }}
The Great Spell
| |||
| |||
Effect(s) | Destroys the whole world | ||
School | Entropy | Ranks | I to XX |
Memories | Sinistrope |
{{Spell | name = The Boring Spell | effects = Summons a school textbook }}
The Boring Spell
| |||
Effect(s) | Summons a school textbook | ||
School | - | Ranks | - |
Memories | - |
{{Spell}}
Spell
| |||
Effect(s) | - | ||
School | - | Ranks | - |
Memories | - |