Template:MonsterBox: Difference between revisions

From Melvor Idle
(Updated to use Lua)
(Edit description)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{MonsterBox|Master Wizard}}
{{MonsterBox|Alraune}}
Infobox template for all monster, using data from [[Module:Monsters]]


Based on [[Template:Monster]], but pulling data from [[Module:Monsters/data]] filtered through [[Module:Monsters]]
<onlyinclude><includeonly>{| class="wikitable infobox"
 
<onlyinclude><includeonly>{{#vardefine:monster|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" style="float:right; clear:right; margin: 0rem 0rem 1rem 1rem;"
|-  
|-  
! {{#var:monster}}
! {{#invoke:Monsters|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}}
|-
|-
| {{#invoke:Icons|Icon|{{#var:monster}}|type=monster|size=250|notext=true}}
| style="text-align: center;" | {{#invoke:Icons|Icon|{{{1|{{PAGENAME}}}}}|type=monster|size=250|notext=true}}
|-
|-
| style="text-align: center;" | Monster ID: {{#invoke:Monsters|getMonsterStat|{{#var:monster}}|id}}
| '''Monster ID:''' {{#invoke:Monsters|getMonsterStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| Zones:
| '''Zones:'''
{{#invoke:Monsters|getMonsterAreas|{{#var:monster}}}}
{{#invoke:Monsters|getMonsterAreas|{{{1|{{PAGENAME}}}}}}}
|}
{{#invoke:Monsters|getOtherMonsterBoxText|{{{1|{{PAGENAME}}}}}}}
|}{{#invoke:Monsters|getMonsterCategories|{{{1|{{PAGENAME}}}}}}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Latest revision as of 23:04, 29 May 2024

TotH.svg Alraune
Alraune
Monster ID: melvorTotH:Alraune
Zones:
Error creating thumbnail: File missing
Ancient Sanctuary

Error creating thumbnail: File missing
Jungle Labyrinth
: If Player is poisoned, Enemies have 150% chance to apply deadly poison per attack
Monster Types: Slayer Area, Dungeon
Error creating thumbnail: File missing
Slayer
Tier:
Master

Infobox template for all monster, using data from Module:Monsters