Template:SlayerAreaBox: Difference between revisions

Add TotH icon
(Use infobox class)
(Add TotH icon)
Line 1: Line 1:
{{SlayerAreaBox|Strange Cave}}
{{SlayerAreaBox|Jungle Labyrinth}}


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 infobox"
<onlyinclude><includeonly>{| class="wikitable infobox"
|-  
|-  
! {{#var:area}}
! {{#invoke:CombatAreas|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}}
|-
|-
| style="text-align:center;" | {{#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}}
|-
|-
| '''Slayer Area ID:''' {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|id}}
| '''Slayer Area ID:''' {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|id}}
|-
|-
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|difficulty}}
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|difficulty}}
|-
|-
| '''Requirements:'''
| '''Requirements:'''
{{#invoke:CombatAreas|getAreaStat|{{#var:area}}|requirements}}
{{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|requirements}}
|-
|-
| '''Area Effect:'''
| '''Area Effect:'''
{{#invoke:CombatAreas|getAreaStat|{{#var:area}}|areaEffectDesc}}
{{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|areaEffectDesc}}
|-  
|-  
| '''Monsters:'''<br/>
| '''Monsters:'''<br/>
{{#invoke:Monsters|getAreaMonsterList|{{#var:area}}}}
{{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}}
|}<includeonly></onlyinclude>
|}<includeonly></onlyinclude>