Template:MonsterBox: Difference between revisions

From Melvor Idle
(Consistency of ID alignment with other infobox templates)
(Remove dependency on Variables extension)
Line 3: Line 3:
Based on [[Template:Monster]], but pulling data from [[Module:Monsters/data]] filtered through [[Module:Monsters]]
Based on [[Template:Monster]], but pulling data from [[Module:Monsters/data]] filtered through [[Module:Monsters]]


<onlyinclude><includeonly>{{#vardefine:monster|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:monster}}
! {{{1|{{PAGENAME}}}}}
|-
|-
| style="text-align: center;" | {{#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}}
|-
|-
| '''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|{{#var:monster}}}}
{{#invoke:Monsters|getOtherMonsterBoxText|{{{1|{{PAGENAME}}}}}}}
|}{{#invoke:Monsters|getMonsterCategories|{{#var:monster}}}}
|}{{#invoke:Monsters|getMonsterCategories|{{{1|{{PAGENAME}}}}}}}
</includeonly></onlyinclude>
</includeonly></onlyinclude>

Revision as of 22:58, 7 October 2022

Master Wizard
Master Wizard
Monster ID: melvorD:MasterWizard
Zones:
Error creating thumbnail: File missing
Hall of Wizards

Error creating thumbnail: File missing
Wizard Tower

Error creating thumbnail: File missing
Stronghold of Magic
Monster Types: Combat Area, Dungeon, Stronghold
Error creating thumbnail: File missing
Slayer
Tier:
Normal


Based on Template:Monster, but pulling data from Module:Monsters/data filtered through Module:Monsters