Difference between revisions of "Template:Spell info"

From CrawlWiki
Jump to: navigation, search
(whoops, meant to make a new page)
(Updated an example)
 
Line 1: Line 1:
 
<includeonly>{{ {{{|safesubst:}}}#invoke:Spell|spell_info|{{{1|}}}}}</includeonly><noinclude>This template will generate an infobox followed by a description and quote(s) for a given spell. For example:
 
<includeonly>{{ {{{|safesubst:}}}#invoke:Spell|spell_info|{{{1|}}}}}</includeonly><noinclude>This template will generate an infobox followed by a description and quote(s) for a given spell. For example:
  <nowiki>{{spell info|Agony}}</nowiki>
+
  <nowiki>{{spell info|Fireball}}</nowiki>
 
gives you:
 
gives you:
{{spell info|Agony}}
+
{{Suppress categories|{{spell info|Fireball}}}}
  
 
If the spell name is omitted, the page's title is used.
 
If the spell name is omitted, the page's title is used.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 16:12, 23 May 2026

This template will generate an infobox followed by a description and quote(s) for a given spell. For example:

{{spell info|Fireball}}

gives you:

Fireball.png Fireball
Level 5
School1 Conjuration
School2 Fire
Source(s) Book of the Dragon
Book of the Spheres
Casting noise 5
Spell noise 15
Power Cap 200
Range 5
Flags Dir or target, Needs tracer
Hurls an explosive ball of fire.

If the spell name is omitted, the page's title is used.