Anonymous

Template:CombatAreaBox: Difference between revisions

From Melvor Idle
Add TotH icon
(Use infobox class)
(Add TotH icon)
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 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}}
|-
|-
| '''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}}
|-  
|-  
| '''Monsters:'''<br/>
| '''Monsters:'''<br/>
{{#invoke:Monsters|getAreaMonsterList|{{#var:area}}}}
{{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}}
|}<includeonly></onlyinclude>
|}<includeonly></onlyinclude>