Template:SlayerAreaBox: Difference between revisions

Use infobox class
(Removed 'area' section since it's being included in the general requirements section)
(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; max-width:250px;"
<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}}
|-
|-
| '''Slayer Area ID:''' {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|id}}
| '''Slayer Area ID:''' {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|id}}