Template:CombatNav: Difference between revisions

From Melvor Idle
(Remove dependency on Variables extension)
(Finally got around to adding all the new TotH stuff)
Line 90: Line 90:
| {{Icon|type=combatArea|Unhallowed Wasteland}}
| {{Icon|type=combatArea|Unhallowed Wasteland}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Legaran Wurm}} {{*}} {{MonsterIcon|Cursed Lich}} {{*}} {{MonsterIcon|Spiked Red Claw}} {{*}} {{MonsterIcon|Greater Skeletal Dragon}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Legaran Wurm}} {{*}} {{MonsterIcon|Cursed Lich}} {{*}} {{MonsterIcon|Spiked Red Claw}} {{*}} {{MonsterIcon|Greater Skeletal Dragon}}
|-
| {{TotH}} {{ZoneIcon|Jungle Labyrinth}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Hungry Plant}} {{*}} {{MonsterIcon|Poison Toad}} {{*}} {{MonsterIcon|Kongamato}} {{*}} {{MonsterIcon|Conda}} {{*}} {{MonsterIcon|Alraune}}
|-
| {{TotH}} {{ZoneIcon|Lava Lake}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Burning Snake}} {{*}} {{MonsterIcon|Infernal Golem}} {{*}} {{MonsterIcon|Magic Fire Demon}} {{*}} {{MonsterIcon|Manticore}} {{*}} {{MonsterIcon|Gret-Yun}}
|-
| {{TotH}} {{ZoneIcon|Forsaken Tundra}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Large Ice Troll}} {{*}} {{MonsterIcon|Frost Golem}} {{*}} {{MonsterIcon|Polar Bear}} {{*}} {{MonsterIcon|Spectral Ice Wolf}} {{*}} {{MonsterIcon|Ice Hydra}}
|-
| {{TotH}} {{ZoneIcon|Foggy Lake}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Siren}} {{*}} {{MonsterIcon|Monster Croc}} {{*}} {{MonsterIcon|Leviathan}} {{*}} {{MonsterIcon|Twin Sea Dragon Serpent}}
|-
| {{TotH}} {{ZoneIcon|Afflicted City}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Shadow Beast}} {{*}} {{MonsterIcon|Plague Doctor}} {{*}} {{MonsterIcon|Cockatrice}} {{*}} {{MonsterIcon|Goliath Werewolf}}
|-
| {{TotH}} {{ZoneIcon|Midnight Valley}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Phantom}} {{*}} {{MonsterIcon|Banshee}} {{*}} {{MonsterIcon|Spectre}}
|-
| {{TotH}} {{ZoneIcon|Golden Cloud Mountains}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Torvair}} {{*}} {{MonsterIcon|Arctair}} {{*}} {{MonsterIcon|Harkair}}
|-
| {{TotH}} {{ZoneIcon|Millennium Gate}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Vorloran Devastator}} {{*}} {{MonsterIcon|Vorloran Watcher}} {{*}} {{MonsterIcon|Vorloran Protector}} {{*}} {{MonsterIcon|Guardian of 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|{{#invoke:CombatAreas|getAreaStat|{{PAGENAME}}}}}}}|Dungeon||mw-collapsed}}" style="margin:auto; clear:both; width: 100%"
|-
|-
|-
! colspan=2 | [[Dungeons]]
! colspan=2 | [[Dungeons]]
Line 145: Line 170:
| {{Icon|type=dungeon|Impending Darkness Event}}
| {{Icon|type=dungeon|Impending Darkness Event}}
| class="center" style="vertical-align:middle;" | Slayer Areas {{*}} {{MonsterIcon|Bane}} {{*}} {{MonsterIcon|Bane, Instrument of Fear}}
| class="center" style="vertical-align:middle;" | Slayer Areas {{*}} {{MonsterIcon|Bane}} {{*}} {{MonsterIcon|Bane, Instrument of Fear}}
|-
| {{TotH}} {{ZoneIcon|Ancient Sanctuary}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Hungry Plant}} {{*}} {{MonsterIcon|Poison Toad}} {{*}} {{MonsterIcon|Kongamato}} {{*}} {{MonsterIcon|Conda}} {{*}} {{MonsterIcon|Alraune}} {{*}} {{MonsterIcon|Morellia}}
|-
| {{TotH}} {{ZoneIcon|Underground Lava Lake}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Burning Snake}} {{*}} {{MonsterIcon|Infernal Golem}} {{*}} {{MonsterIcon|Magic Fire Demon}} {{*}} {{MonsterIcon|Manticore}} {{*}} {{MonsterIcon|Gret-Yun}} {{*}} {{MonsterIcon|Trogark}}
|-
| {{TotH}} {{ZoneIcon|Lightning Region}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Lightning Spirit}} {{*}} {{MonsterIcon|Lightning Monkey}} {{*}} {{MonsterIcon|Lightning Golem}} {{*}} {{MonsterIcon|RaZu, Lord of the Skies}}
|-
| {{TotH}} {{ZoneIcon|Lair of the Spider Queen}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Basher Spider}} {{*}} {{MonsterIcon|Enforcer Spider}} {{*}} {{MonsterIcon|Guardian Spider}} {{*}} {{MonsterIcon|Scouter Spider}} {{*}} {{MonsterIcon|Trapper Spider}} {{*}} {{MonsterIcon|Wicked Spider}} {{*}} {{MonsterIcon|Spider Queen}}
|-
| {{TotH}} {{ZoneIcon|Cursed Forest}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Tree Giant}} {{*}} {{MonsterIcon|Tree Spirit}} {{*}} {{MonsterIcon|Cursed Spirit}} {{*}} {{MonsterIcon|Lady Darkheart}}
|-
| {{TotH}} {{ZoneIcon|Necromancers Palace}}
| class="center" style="vertical-align:middle;" | {{MonsterIcon|Cursed Skeleton Warrior}} {{*}} {{MonsterIcon|Beholder}} {{*}} {{MonsterIcon|Dark Knight}} {{*}} {{MonsterIcon|Fiozor, the Ancient Necromancer}}
|-
| {{TotH}} {{ZoneIcon|Throne of 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|{{#invoke:CombatAreas|getAreaStat|{{PAGENAME}}}}}}}|Dungeon||mw-collapsed}}" style="margin:auto; clear:both; width: 100%"

Revision as of 01:37, 7 November 2022

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 {{CombatNav|Combat Area}} will default to only have the 'Slayer Areas' and 'Dungeons' sections collapsed