Anonymous

Template:DungeonBox: Difference between revisions

From Melvor Idle
Add pauseOnBosses info
m (fix closing tag)
(Add pauseOnBosses info)
Line 1: Line 1:
{{DungeonBox|Ancient Sanctuary}}
{{DungeonBox|Ancient Sanctuary}}
{{DungeonBox|Into the Mist}}


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.
Line 14: Line 15:
|-
|-
| '''Rewards:'''<br/>{{#invoke:CombatAreas/AreaTables|getDungeonRewards|{{{1|{{PAGENAME}}}}}|false}}
| '''Rewards:'''<br/>{{#invoke:CombatAreas/AreaTables|getDungeonRewards|{{{1|{{PAGENAME}}}}}|false}}
|-  
|-
{{#ifeq:{{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|pauseOnBosses}}|true|
{{!}} '''Pause for Bosses:''' Yes
{{!}}-
}}
|''' Monsters:'''<br/>{{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}}
|''' Monsters:'''<br/>{{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}}
{{#invoke:Pets|getDungeonBoxPetText|{{{1|{{PAGENAME}}}}}}}
{{#invoke:Pets|getDungeonBoxPetText|{{{1|{{PAGENAME}}}}}}}
|}{{MainOnly|{{#switch:{{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|type}}|dungeon=[[Category:Dungeons]]|abyssDepth=[[Category:Abyss Depths]]|stronghold=[[Category:Strongholds]]}}}}</includeonly></onlyinclude>
|}{{MainOnly|{{#switch:{{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|type}}|dungeon=[[Category:Dungeons]]|abyssDepth=[[Category:Abyss Depths]]|stronghold=[[Category:Strongholds]]}}}}</includeonly></onlyinclude>
239

edits