Template:AreaMonsters: Difference between revisions

From Melvor Idle
(Fixed issue caused by lua changes)
(Remove dependency on Variables extension)
 
Line 3: Line 3:
For example, {{T|AreaMonsters|Desolate Plains}} produces {{AreaMonsters|Desolate Plains}}
For example, {{T|AreaMonsters|Desolate Plains}} produces {{AreaMonsters|Desolate Plains}}


<includeonly><onlyinclude>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getAreaMonsterTable|{{#var:name}}}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{#invoke:Monsters|getAreaMonsterTable|{{{1|{{PAGENAME}}}}}}}</onlyinclude></includeonly>

Latest revision as of 23:18, 7 October 2022

Template for quickly pulling area monster tables. Called on PAGENAME by default, can be overriden.

For example, {{AreaMonsters|Desolate Plains}} produces

Name Combat Lvl HP Max Hit Style
Raging Horned Elite 125 1,400
Error creating thumbnail: File missing
146
Error creating thumbnail: File missing
Seething Horned Elite 161 2,000
Error creating thumbnail: File missing
242
Error creating thumbnail: File missing
Dark Horned Elite 230 2,800
Error creating thumbnail: File missing
443
Error creating thumbnail: File missing
Furious Horned Elite 239 3,000
Error creating thumbnail: File missing
397
Error creating thumbnail: File missing