Difference between revisions of "Template:Monsters with spell"

From CrawlWiki
Jump to: navigation, search
(Created page with "<includeonly>{{#invoke:Monster|monsters_with_spell|{{{1|}}}}}</includeonly><noinclude>This template generates a bulletted list of monsters that cast a particular spell. For ex...")
 
(Fix typo)
Line 1: Line 1:
 
<includeonly>{{#invoke:Monster|monsters_with_spell|{{{1|}}}}}</includeonly><noinclude>This template generates a bulletted list of monsters that cast a particular spell. For example:
 
<includeonly>{{#invoke:Monster|monsters_with_spell|{{{1|}}}}}</includeonly><noinclude>This template generates a bulletted list of monsters that cast a particular spell. For example:
  <nowiki>{{monster info|Fireball}}</nowiki>
+
  <nowiki>{{monsters with spell|Fireball}}</nowiki>
 
gives you:
 
gives you:
{{monster info|Fireball}}
+
{{monsters with spell|Fireball}}
  
 
If the monster name is omitted, the page's title is used. The spell name is case-sensitive.
 
If the monster name is omitted, the page's title is used. The spell name is case-sensitive.
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 06:10, 14 December 2015

This template generates a bulletted list of monsters that cast a particular spell. For example:

{{monsters with spell|Fireball}}

gives you: The following enemies cast Fireball:

If the monster name is omitted, the page's title is used. The spell name is case-sensitive.