Anonymous

Template:CombatAreaBox: Difference between revisions

From Melvor Idle
Use infobox class
(Added Difficulty, bolded section names for consistency)
(Use infobox class)
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>{{#vardefine:area|{{{1|{{PAGENAME}}}}}}}{| class="wikitable infobox"
|-  
|-  
! {{#var:area}}
! {{#var:area}}
|-
|-
| {{#invoke:Icons|Icon|{{#var:area}}|type=combatArea|size=250|notext=true}}
| style="text-align:center;" | {{#invoke:Icons|Icon|{{#var:area}}|type=combatArea|size=250|notext=true}}
|-
|-
| '''Combat Area ID''': {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|id}}
| '''Combat Area ID''': {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|id}}