Difference between revisions of "Template:Monster info"

From CrawlWiki
Jump to: navigation, search
(Do a better job of making parameter optional)
(Attempt to make subst-safe)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Monster|monster_info|{{{1|}}}}}</includeonly><noinclude>This template will generate an infobox for a given monster. For example:
+
<includeonly>{{ {{{|safesubst:}}}#invoke:Monster|monster_info|{{{1|}}}}}</includeonly><noinclude>This template will generate an infobox followed by a description and quote(s) for a given monster. For example:
 
  <nowiki>{{monster info|ogre}}</nowiki>
 
  <nowiki>{{monster info|ogre}}</nowiki>
 
gives you:
 
gives you:

Revision as of 23:55, 1 May 2016

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

{{monster info|ogre}}

gives you:

ogre OOgre.png
HP 18-37
HD 5
XP 119
Speed 10 (atk: 150%)
AC 1
EV 6
Will 20
Attack1 20 (hit: plain)


Resistances None
Vulnerabilities None
Habitat Land
Intelligence Human
Uses Starting equipment
Open doors
Holiness Natural
Size Large
Type ogre, ogre
Flags Speaks
Warm-blooded
A large, ugly, and fat creature, distantly related to orcs and goblins. It is tremendously strong.

“The little princess, asleep in her cradle, floated on the water, and at last she was cast up on the shore of a beautiful country, where, however, very few people dwelt since the ogre Ravagio and his wife Tourmentine had gone to live there-for they ate up everybody. Ogres are terrible people. When once they have tasted raw human flesh they will hardly eat anything else, and Tourmentine always knew how to make some body come their way, for she was half a fairy.”
-Marie-Catherine Le Jumel de Barneville, Baronne d’Aulnoy, “’Orangier et l’Abeille”. 1697.

“NO. Layers. Onions have layers. Ogres have layers. Onions have layers. You get it? We both have layers.”
-Shrek. 2001.

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