Template:SlayerAreaBox: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Created new lua-powered Slayer Area box) |
(Added Area Effect & embolden category names) |
||
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" style="float:right; clear:right; max-width:250px;" | ||
|- | |- | ||
! {{#var:area}} | ! {{#var:area}} | ||
Line 8: | Line 8: | ||
| {{#invoke:Icons|Icon|{{#var:area}}|type=combatArea|size=250|notext=true}} | | {{#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}} | ||
|- | |- | ||
| Requirements: | | '''Requirements:''' | ||
{{#invoke:CombatAreas|getAreaStat|{{#var:area}}|slayerLevel}} | {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|slayerLevel}} | ||
|- | |- | ||
| Slayer Item: | | '''Slayer Item:''' | ||
{{#invoke:CombatAreas|getAreaStat|{{#var:area}}|slayerItem}} | {{#invoke:CombatAreas|getAreaStat|{{#var:area}}|slayerItem}} | ||
|- | |||
| '''Area Effect:''' | |||
{{#invoke:CombatAreas|getAreaStat|{{#var:area}}|areaEffectDesc}} | |||
|- | |- | ||
| Monsters:<br/> | | '''Monsters:'''<br/> | ||
{{#invoke:Monsters|getAreaMonsterList|{{#var:area}}}} | {{#invoke:Monsters|getAreaMonsterList|{{#var:area}}}} | ||
|}<includeonly></onlyinclude> | |}<includeonly></onlyinclude> |
Revision as of 09:47, 17 March 2021
Strange Cave |
---|
Error creating thumbnail: File missing
|
Slayer Area ID: melvorF:Strange_Cave |
Requirements: |
Slayer Item: |
Area Effect:
-15% Global Evasion |
Monsters: Many Eyed Monster |
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.