Difference between revisions of "Template:Monster"

From CrawlWiki
Jump to: navigation, search
(Let's try using a default value for tile)
m (allow specifying a tile name explicitly, part-2)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#set:Monster glyph={{{glyph}}}}}<div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; float: right; border:none;">
 
{{#set:Monster glyph={{{glyph}}}}}<div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; float: right; border:none;">
 
{| class="prettytable" style="border:none; margin:0; padding:0; text-align:left"
 
{| class="prettytable" style="border:none; margin:0; padding:0; text-align:left"
!colspan="2" style="font-size:larger;"|{{{name}}}&emsp;{{{glyph}}}&emsp;{{{tile|[[File:{{PAGENAME}}.png|32px]]}}}
+
!colspan="2" style="font-size:larger;"|{{{name}}}&emsp;{{{glyph}}}&emsp;{{{tile|[[File:{{{tile_name}}}.png|32px]]}}}
 
|-
 
|-
 
! style="width:80px;" | [[Hit points|HP]]
 
! style="width:80px;" | [[Hit points|HP]]
Line 12: Line 12:
 
| [[Monster experience::{{{xp}}}]]
 
| [[Monster experience::{{{xp}}}]]
 
|-
 
|-
! [[Movement|Speed]]
+
! [[Monster speed|Speed]]
 
| {{{speed}}} {{#set:Monster speed={{#invoke:String|first_word|{{{speed}}}}}}}
 
| {{{speed}}} {{#set:Monster speed={{#invoke:String|first_word|{{{speed}}}}}}}
 
|-
 
|-
Line 21: Line 21:
 
| [[Monster evasion::{{{evasion}}}]]
 
| [[Monster evasion::{{{evasion}}}]]
 
|-
 
|-
! [[Magic resistance|MR]]
+
! [[Willpower|Will]]
 
| {{{magic_resistance}}} {{#set:Monster magic resistance={{#invoke:String|fix_magic_resistance|{{{magic_resistance}}}}}}}
 
| {{{magic_resistance}}} {{#set:Monster magic resistance={{#invoke:String|fix_magic_resistance|{{{magic_resistance}}}}}}}
 
{{if|{{{attack1|}}}|
 
{{if|{{{attack1|}}}|
Line 43: Line 43:
 
| {{{attack4}}}
 
| {{{attack4}}}
 
}}}}
 
}}}}
|-
 
! [[Corpse|Type of Meat]]
 
| {{{meat}}}
 
 
|-
 
|-
 
! [[Resistance]]s
 
! [[Resistance]]s

Latest revision as of 21:31, 25 January 2024

{{{name}}} {{{glyph}}} [[File:{{{tile_name}}}.png|32px]]
HP {{{hp_range}}}
HD {{{hit_dice}}}
XP {{{xp}}}
Speed {{{speed}}}
"{{{speed}}}" is not a number.
AC {{{armour_class}}}
EV {{{evasion}}}
Will {{{magic_resistance}}}
"{{{magic_resistance}}}" is not a number.



Resistances {{{resistances}}}
Vulnerabilities {{{vulnerabilities}}}
Habitat {{{habitat}}}
Intelligence {{{intelligence}}}
Uses {{{item_use}}}
Holiness {{{holiness}}}
Size {{{size}}}
Type {{{genus}}}, {{{species}}}
Flags {{{flags}}}