Difference between revisions of "Template:Spell"

From sureai
Jump to: navigation, search
(Added usage & examples)
m (Attempting to fix collision with Book template)
Line 1: Line 1:
 
{| style="margin: 0 auto"
 
{| style="margin: 0 auto"
| style="vertical-align: top; padding-right: 10px; " | {{#if: {{{image|}}} | [[File:{{{image}}}|right|60x60px]] |}}
+
| style="padding-right: 10px; " | {{#if: {{{image|}}} | [[File:{{{image}}}|right|60x60px]] |}}
 
| style="text-align: left; max-width: 400px; font-size: 150%; color: white;" | '''{{{name|{{PAGENAME}}}}}'''
 
| style="text-align: left; max-width: 400px; font-size: 150%; color: white;" | '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-

Revision as of 13:26, 16 March 2017

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
EN-Combat-Entropy-icon.png
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 -