Template:CombatAreaBox: Difference between revisions

From Melvor Idle
(Added Difficulty, bolded section names for consistency)
(Requirements section no longer appears if area has no requirements)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:


This template is for use in individual Slayer Area 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 Slayer Area pages. It's powered by Lua from [[Module:Monsters]] and [[Module:CombatAreas]], pulling from their respective data modules.
<onlyinclude><includeonly>{{#vardefine:area|{{{1|{{PAGENAME}}}}}}}{| class="wikitable" style="float:right; clear:right;"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:area}}
! {{#invoke:CombatAreas|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}}
|-
|-
| {{#invoke:Icons|Icon|{{#var:area}}|type=combatArea|size=250|notext=true}}
| style="text-align:center;" | {{#invoke:Icons|Icon|{{{1|{{PAGENAME}}}}}|type=combatArea|size=250|notext=true}}
|-
|-
| '''Combat Area ID''': {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|id}}
| '''Combat Area ID''': {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|difficulty}}
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|difficulty}}
{{#invoke:CombatAreas|getAreaRequirementsForBox|{{{1|{{PAGENAME}}}}}}}
|-  
|-  
| '''Monsters:'''<br/>
| '''Monsters:'''<br/>
{{#invoke:Monsters|getAreaMonsterList|{{#var:area}}}}
{{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}}
|}<includeonly></onlyinclude>
|}<includeonly></onlyinclude>

Latest revision as of 21:40, 6 October 2023

Wizard Tower
Error creating thumbnail: File missing
Combat Area ID: melvorD:Wizard_Tower
Difficulty: Easy - Hard
Monsters:

Wizard
Master Wizard
Dark Wizard

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