Difference between revisions of "Template:Spell"

From CrawlWiki
Jump to: navigation, search
m (Fixed broken link)
(Spell level semantic property)
Line 24: Line 24:
 
| {{{spellnoise|?}}}
 
| {{{spellnoise|?}}}
 
|-
 
|-
|}</div><includeonly>[[Category:Spells]][[Category:Level {{{level}}} Spells]]</includeonly><noinclude>
+
|}</div>{{#set:spell level={{{level}}} }}<includeonly>[[Category:Spells]][[Category:Level {{{level}}} Spells]]</includeonly><noinclude>
  
 
Use this template for pages about specific [[spell]]s; put it at the top of every such page.  Example usage:
 
Use this template for pages about specific [[spell]]s; put it at the top of every such page.  Example usage:

Revision as of 21:36, 22 May 2014

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