Difference between revisions of "Template:Spell"

From CrawlWiki
Jump to: navigation, search
(Spell level semantic property)
m (Use name for icon path, not page name.)
Line 1: Line 1:
 
<div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; float: right; border:none;">
 
<div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; float: right; border:none;">
 
{| class="prettytable" style="border:none; margin:0; padding:0; width:18em;"
 
{| class="prettytable" style="border:none; margin:0; padding:0; width:18em;"
! colspan="2" style="font-size:larger;" | [[File:{{lc:{{PAGENAME}}.png}}|32px]]&emsp;{{{name}}}
+
! colspan="2" style="font-size:larger;" | [[File:{{lc:{{{name}}}.png}}|32px]]&emsp;{{{name}}}
 
|-
 
|-
 
! align="left" | Level
 
! align="left" | Level

Revision as of 17:39, 3 November 2016

[[File:{{{name}}}.png|32px]] {{{name}}}
Level {{{level}}}
School1 {{{school1}}}
School2 {{{school2}}}
School3 {{{school3}}}
Source(s) {{{sources}}}
Casting noise  ?
Spell noise  ?
"{{{level}}}" is not a number.

Use this template for pages about specific spells; put it at the top of every such page. Example usage:

{{Spell
|name=Deflect Missiles
|level=6
|school1={{Enchantments}}
|school2={{Air Magic}}
|school3=
|sources=<div>
* [[Book of Enchantments]]
* [[Book of the Sky]]
* [[Rod of warding]]</div>
|castingnoise=3
|spellnoise=0

}}

The <div></div> and newline before the bulleted list are necessary for the first bullet to be formatted correctly. The above example produces:

Deflect missiles.png Deflect Missiles
Level 6
School1 Enchantments
School2 Air Magic
Source(s)
Casting noise 3
Spell noise 0