Template:DungeonBox: Difference between revisions

From Melvor Idle
(Use infobox class)
(Remove dependency on Variables extension)
Line 2: Line 2:


This template is for use in individual dungeon pages. It's powered by Lua from [[Module:Monsters]] and [[Module:CombatAreas]], pulling from their respective data modules.
This template is for use in individual dungeon pages. It's powered by Lua from [[Module:Monsters]] and [[Module:CombatAreas]], pulling from their respective data modules.
<onlyinclude><includeonly>{{#vardefine:dungeon|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:dungeon}}
! {{{1|{{PAGENAME}}}}}
|-
|-
| style="text-align:center;" |{{#invoke:Icons|Icon|{{#var:dungeon}}|type=dungeon|size=250|notext=true}}
| style="text-align:center;" |{{#invoke:Icons|Icon|{{{1|{{PAGENAME}}}}}|type=dungeon|size=250|notext=true}}
|-
|-
| '''Dungeon ID:''' {{#invoke:CombatAreas|getAreaStat|{{#var:dungeon}}|id}}
| '''Dungeon ID:''' {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{#var:dungeon}}|difficulty}}
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|difficulty}}
{{#invoke:CombatAreas|getDungeonRequirements|{{#var:dungeon}}}}
{{#invoke:CombatAreas|getDungeonRequirements|{{{1|{{PAGENAME}}}}}}}
|-
|-
| '''Rewards:'''
| '''Rewards:'''
{{#invoke:CombatAreas/AreaTables|getDungeonRewards|{{#var:dungeon}}}}
{{#invoke:CombatAreas/AreaTables|getDungeonRewards|{{{1|{{PAGENAME}}}}}}}
|-  
|-  
|''' Monsters:'''<br/>{{#invoke:Monsters|getAreaMonsterList|{{#var:dungeon}}}}
|''' Monsters:'''<br/>{{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}}
{{#invoke:Pets|getDungeonBoxPetText|{{#var:dungeon}}}}
{{#invoke:Pets|getDungeonBoxPetText|{{{1|{{PAGENAME}}}}}}}
|}<includeonly></onlyinclude>
|}<includeonly></onlyinclude>

Revision as of 23:17, 7 October 2022

Fire God Dungeon
Error creating thumbnail: File missing
Dungeon ID: melvorF:Fire_God_Dungeon
Difficulty: Legendary
Requirements:
Complete
Error creating thumbnail: File missing
Earth God Dungeon

Complete
Error creating thumbnail: File missing
Volcanic Cave
Rewards:
Monsters:
8 Fire Guard
6 Fire Monster
4 Fire Golem
1 Pyra
1 Ignis
1 Ragnar
Pet:
Error creating thumbnail: File missing
Ren
Pet Drop Chance:
1 in 150 (0.67%)

This template is for use in individual dungeon pages. It's powered by Lua from Module:Monsters and Module:CombatAreas, pulling from their respective data modules.