Difference between revisions of "Template:Spell"
From sureai
Codered999 (Talk | contribs) m (Attempting to fix collision with Book template) |
Codered999 (Talk | contribs) (Redo template for space-saving, inline with Book template) |
||
Line 1: | Line 1: | ||
− | {| style="margin: | + | {| style = "float: right; border-collapse: collapse; margin: 5px 5px 10px 20px; width: 300px; max-width: 400px; clear: right; " |
− | | style=" | + | | colspan = "4" style = "background: RGB(147, 56, 56); border-radius: 5px; text-align: center; color: white; font-weight: bold; " | <div style = " vertical-align: middle; text-align: center; font-size: 150%; " >{{{name|{{PAGENAME}}}}}</div> |
− | | style=" | + | |
|- | |- | ||
− | | | + | | colspan = "4" | {{#if: {{{image|}}} |<center><div style = "padding: 5px 0 5px 0; center " >[[File:{{{image}}}|250x250px]]</div></center>|}} |
− | | style=" | + | |
|- | |- | ||
− | | style="text-align: right; | + | | style = "text-align: right; padding-right: 10px; width: 30%; " | '''Effect(s)''' |
− | | style="text-align: left | + | | colspan = 3 style = "text-align: left; " | {{{effects|-}}} |
|- | |- | ||
− | | style="text-align: right; | + | | style = "text-align: right; padding-right: 10px; width: 30%; " | '''School''' |
− | | style=" | + | | style = "width: 20%; " | {{{school|-}}} |
− | + | | style = "text-align: right; padding-right: 10px; width: 25%; " | '''Ranks''' | |
− | | style="text-align: right; | + | | style = "width: 25%; " | {{{ranks|-}}} |
− | | style=" | + | |
|- | |- | ||
+ | | style = "text-align: right; padding-right: 10px; " | '''Memories''' | ||
+ | | style = "width: 25%; " | {{{memories|-}}} | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
Line 40: | Line 39: | ||
| name = The Great Spell | | name = The Great Spell | ||
| image = EN-Combat-Entropy-icon.png | | image = EN-Combat-Entropy-icon.png | ||
− | | school = Entropy | + | | school = [[Enteral:Entropy|Entropy]] |
| effects = Destroys the whole world | | effects = Destroys the whole world | ||
| ranks = I to XX | | ranks = I to XX | ||
Line 47: | Line 46: | ||
</pre> | </pre> | ||
+ | <div style="display: inline-block; "> | ||
{{Spell | {{Spell | ||
| name = The Great Spell | | name = The Great Spell | ||
| image = EN-Combat-Entropy-icon.png | | image = EN-Combat-Entropy-icon.png | ||
− | | school = Entropy | + | | school = [[Enteral:Entropy|Entropy]] |
| effects = Destroys the whole world | | effects = Destroys the whole world | ||
| ranks = I to XX | | ranks = I to XX | ||
| memories = [[Enderal:Mage#Sinistrope|Sinistrope]] | | memories = [[Enderal:Mage#Sinistrope|Sinistrope]] | ||
}} | }} | ||
+ | </div> | ||
<pre> | <pre> | ||
Line 63: | Line 64: | ||
</pre> | </pre> | ||
+ | <div style="display: inline-block; "> | ||
{{Spell | {{Spell | ||
| name = The Boring Spell | | name = The Boring Spell | ||
| effects = Summons a school textbook | | effects = Summons a school textbook | ||
}} | }} | ||
+ | </div> | ||
<pre> | <pre> | ||
Line 72: | Line 75: | ||
</pre> | </pre> | ||
+ | <div style="display: inline-block; "> | ||
{{Spell}} | {{Spell}} | ||
+ | </div> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 14:16, 21 March 2017
Spell
| |||
Effect(s) | - | ||
School | - | 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 = [[Enteral:Entropy|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 | - |