Template:CombatAreaBox: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (New lua-powered Combat Area infobox) |
Falterfire (talk | contribs) (Requirements section no longer appears if area has no requirements) |
||
(4 intermediate revisions by 2 users not shown) | |||
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> | <onlyinclude><includeonly>{| class="wikitable infobox" | ||
|- | |- | ||
! {{# | ! {{#invoke:CombatAreas|getExpansionIcon|{{{1|{{PAGENAME}}}}}}}{{{1|{{PAGENAME}}}}} | ||
|- | |- | ||
| {{#invoke:Icons|Icon|{{ | | style="text-align:center;" | {{#invoke:Icons|Icon|{{{1|{{PAGENAME}}}}}|type=combatArea|size=250|notext=true}} | ||
|- | |- | ||
| Combat Area ID: {{#invoke:CombatAreas|getAreaStat|{{# | | '''Combat Area ID''': {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|id}} | ||
|- | |||
| '''Difficulty:''' {{#invoke:CombatAreas|getAreaStat|{{{1|{{PAGENAME}}}}}|difficulty}} | |||
{{#invoke:CombatAreas|getAreaRequirementsForBox|{{{1|{{PAGENAME}}}}}}} | |||
|- | |- | ||
| Monsters:<br/> | | '''Monsters:'''<br/> | ||
{{#invoke:Monsters|getAreaMonsterList|{{ | {{#invoke:Monsters|getAreaMonsterList|{{{1|{{PAGENAME}}}}}}} | ||
|}<includeonly></onlyinclude> | |}<includeonly></onlyinclude> |
Latest revision as of 21:40, 6 October 2023
Wizard Tower |
---|
Error creating thumbnail: File missing
|
Combat Area ID: melvorD:Wizard_Tower |
Difficulty: Easy - Hard |
Monsters: |
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.