Template:Monster

From CrawlWiki
Jump to: navigation, search

Template, for displaying monster information in right-aligned table format. Mostly used by Module:monster for processing {{monster info}} template.

For example, writing:

{{ monster|name=Example|glyph={{Brown|E}}|hp_range=1-1000|tile_name=Human|hit_dice=1|xp=2|speed=3|armour_class=4|evasion=5|willpower=6|attack1=7 ({{Bite type}}:{{Plain flavour}})|attack2=8 ({{Bite type}}:{{Plain flavour}})|attack3=9 ({{Bite type}}:{{Plain flavour}})|attack4=10 ({{Bite type}}:{{Plain flavour}})|resistances=None|vulnerabilities=None|habitat=Land|intelligence={{Human intelligence}}|item_use={{Open doors}}|holiness={{Natural}}|size={{Large}}|genus=human|species=human|flags={{Speaks flag}} }}

will result in:


Example E Human.png
HP 1-1000
HD 1
XP 2
Speed 3
AC 4
EV 5
Will 6
Attack1 7 (bite:plain)
Attack2 8 (bite:plain)
Attack3 9 (bite:plain)
Attack4 10 (bite:plain)
Resistances None
Vulnerabilities None
Habitat Land
Intelligence Human
Uses Open doors
Holiness Natural
Size Large
Type human, human
Flags Speaks