Template:CombatNav: Difference between revisions

From Melvor Idle
(Add TotH guide links)
(Support collapsing all but the guides section)
Line 1: Line 1:
A handy navbox that includes all Combat Areas, Slayer Areas, and Dungeons along with the associated monsters. If called with either Combat Area, Slayer Area, or Dungeon as an argument the appropriate section will not be automatically collapsed. (For example <nowiki>{{CombatNav|Combat Area}}</nowiki> will default to only have the 'Slayer Areas' and 'Dungeons' sections collapsed
A handy navbox that includes all Combat Areas, Slayer Areas, and Dungeons along with the associated monsters. If called with either Combat Area, Slayer Area, Dungeon, or Guide as an argument the appropriate section will not be automatically collapsed. (For example <nowiki>{{CombatNav|Combat Area}}</nowiki> will default to only have the 'Slayer Areas' and 'Dungeons' sections collapsed


<onlyinclude><!--
<onlyinclude><!--
Line 192: Line 192:
| class="center" style="vertical-align:middle;" | {{MonsterIcon|The Herald Phase 1}} {{*}} {{MonsterIcon|The Herald Phase 2}} {{*}} {{MonsterIcon|The Herald}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|The Herald Phase 1}} {{*}} {{MonsterIcon|The Herald Phase 2}} {{*}} {{MonsterIcon|The Herald}}
|}
|}
{| class="wikitable mw-collapsible {{#ifeq:{{{1|{{#invoke:CombatAreas|getAreaStat|{{PAGENAME}}}}}}}|Dungeon||mw-collapsed}}" style="margin:auto; clear:both; width: 100%"
{| class="wikitable mw-collapsible {{#ifeq:{{{1|}}}|Guide||mw-collapsed}}" style="margin:auto; clear:both; width: 100%"
|-
|-
! colspan=2 | [[Guides]]
! colspan=2 | [[Guides]]

Revision as of 21:58, 20 March 2023

A handy navbox that includes all Combat Areas, Slayer Areas, and Dungeons along with the associated monsters. If called with either Combat Area, Slayer Area, Dungeon, or Guide as an argument the appropriate section will not be automatically collapsed. (For example {{CombatNav|Combat Area}} will default to only have the 'Slayer Areas' and 'Dungeons' sections collapsed