Difference between revisions of "Template:Monsters with spell"
(Fix typo) |
(Better example) |
||
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>{{monsters with spell| | + | <nowiki>{{monsters with spell|Banishment}}</nowiki> |
gives you: | gives you: | ||
− | {{monsters with spell| | + | {{monsters with spell|Banishment}} |
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 21:17, 14 December 2015
This template generates a bulletted list of monsters that cast a particular spell. For example:
{{monsters with spell|Banishment}}
gives you: The following enemies cast Banishment:
If the monster name is omitted, the page's title is used. The spell name is case-sensitive.