Difference between revisions of "Template:Monster spells"

From CrawlWiki
Jump to: navigation, search
(Created page with "<includeonly>{{#invoke:Monster|monster_spells|{{{1|}}}}}</includeonly><noinclude>This template generates tables showing spell sets for a given monster. For example: <nowiki>{...")
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Monster|monster_spells|{{{1|}}}}}</includeonly><noinclude>This template generates tables showing spell sets for a given monster. For example:
+
<includeonly>{{ {{{|safesubst:}}}#invoke:Monster|monster_spells|{{{1|}}}}}</includeonly><noinclude>This template generates tables showing spell sets for a given monster. For example:
  <nowiki>{{monster info|Sigmund}}</nowiki>
+
  <nowiki>{{monster spells|Sigmund}}</nowiki>
 
gives you:
 
gives you:
 
{{monster spells|Sigmund}}
 
{{monster spells|Sigmund}}

Latest revision as of 17:21, 9 July 2018

This template generates tables showing spell sets for a given monster. For example:

{{monster spells|Sigmund}}

gives you:

Spells

Spell set I
Slot1 Throw Flame (3d5) Wizard flag
Slot2 Invisibility Wizard flag
Slot3 Magic Dart (3d4) Wizard flag
Slot4 Confuse Wizard flag

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