Jump to content
Toggle menu
  • 3.1K articles
  • 4.4K files
  • 18 users
  • 91.5K edits
Ashenzari's Archive
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Monster: Difference between revisions

Template page
imported>Xerxes314
remove chunks, prepare to remove obsolete hp_range
fix: fall back to legacy magic_resistance/tile params so Will and tile stop rendering raw {{{willpower}}}/{{{tile_name}}} placeholders
 
(27 intermediate revisions by 7 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;">
<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;[[File:{{PAGENAME}}.png|32px]]
!colspan="2" style="font-size:larger;"|{{{name}}}&emsp;{{{glyph}}}&emsp;{{{tile|{{#if:{{{tile_name|}}}|[[File:{{{tile_name}}}.png|32px]]|{{#ifexist:File:{{{name|}}}.png|[[File:{{{name}}}.png|32px]]|}}}}}}}
|-
|-
! style="width:80px;" | [[Hit points|HP]]
! style="width:80px;" | [[Hit points|HP]]
| style="width:150px;" | {{{hp_range}}}{{{hp_ave}}}
| style="width:150px;" | {{{hp_range}}}
|-
|-
! [[Hit dice|HD]]
! [[Hit dice|HD]]
| [[Hit dice::{{{hit_dice}}}]]
| {{{hit_dice}}}
|-
|-
! [[XP]]
! [[XP]]
| [[Monster experience::{{{xp}}}]]
| {{{xp}}}
|-
|-
! [[Movement|Speed]]
! [[Monster speed|Speed]]
| {{{speed}}} {{#set:Monster speed={{#invoke:String|first_word|{{{speed}}}}}}}
| {{{speed}}}
|-
|-
! [[Armour class|AC]]
! [[Armour class|AC]]
| [[Monster AC::{{{armour_class}}}]]
| {{{armour_class}}}
|-
|-
! [[Evasion|EV]]
! [[Evasion|EV]]
| [[Monster evasion::{{{evasion}}}]]
| {{{evasion}}}
|-
|-
! [[Magic resistance|MR]]
! [[Willpower|Will]]
| {{{magic_resistance}}} {{#set:Monster magic resistance={{#invoke:String|fix_magic_resistance|{{{magic_resistance}}}}}}}
| {{Categorize will|{{{willpower|{{{magic_resistance|}}}}}}}}
{{if|{{{attack1|}}}|
{{if|{{{attack1|}}}|
{{#!:|-
{{!}}-
! Attack<sup>1</sup>
! Attack<sup>1</sup>
| {{{attack1}}}
{{!}} {{{attack1}}}
}}}}
}}
{{if|{{{attack2|}}}|
{{if|{{{attack2|}}}|
{{#!:|-
{{!}}-
! Attack<sup>2</sup>
! Attack<sup>2</sup>
| {{{attack2}}}
{{!}} {{{attack2}}}
}}}}
}}
{{if|{{{attack3|}}}|
{{if|{{{attack3|}}}|
{{#!:|-
{{!}}-
! Attack<sup>3</sup>
! Attack<sup>3</sup>
| {{{attack3}}}
{{!}} {{{attack3}}}
}}}}
}}
{{if|{{{attack4|}}}|
{{if|{{{attack4|}}}|
{{#!:|-
{{!}}-
! Attack<sup>4</sup>
! Attack<sup>4</sup>
| {{{attack4}}}
{{!}} {{{attack4}}}
}}}}
}}
|-
! [[Corpse|Type of Meat]]
| {{{meat}}}
|-
|-
! [[Resistance]]s
! [[Resistance]]s
Line 57: Line 54:
|-
|-
! [[Monster intelligence|Intelligence]]
! [[Monster intelligence|Intelligence]]
| {{{intelligence}}} {{#set:Monster intelligence={{#invoke:String|fix_monster_intelligence|{{{intelligence}}}}}}}
| {{{intelligence}}}
|-
|-
! [[Item usage|Uses]]
! [[Item usage|Uses]]
Line 66: Line 63:
|-
|-
! [[Size]]
! [[Size]]
| {{{size}}} {{#set:Monster size={{#invoke:String|fix_monster_size|{{{size}}}}}}}
| {{{size}}}
|-
|-
! [[Type]]
! [[Type]]
Line 74: Line 71:
| {{{flags}}}
| {{{flags}}}
|}
|}
</div><includeonly>[[Category:Monsters]]</includeonly><noinclude>[[Category:Templates]]</noinclude>
</div><includeonly>[[Category:Monsters]]</includeonly>

Latest revision as of 05:02, 9 September 2026

{{{name}}} {{{glyph}}} 
HP {{{hp_range}}}
HD {{{hit_dice}}}
XP {{{xp}}}
Speed {{{speed}}}
AC {{{armour_class}}}
EV {{{evasion}}}
Will



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