Template:CombatNav: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Slight formatting tweak to hopefully make the Dungeons table smaller.) |
Falterfire (talk | contribs) (Added a header to the nav.) |
||
Line 6: | Line 6: | ||
-->{{#vardefine:SlayCollapse|{{#ifeq:{{{1|}}}|Slayer Area||mw-collapsed}}}}<!-- | -->{{#vardefine:SlayCollapse|{{#ifeq:{{{1|}}}|Slayer Area||mw-collapsed}}}}<!-- | ||
-->{{#vardefine:DungeonCollapse|{{#ifeq:{{{1|}}}|Dungeon||mw-collapsed}}}}<!-- | -->{{#vardefine:DungeonCollapse|{{#ifeq:{{{1|}}}|Dungeon||mw-collapsed}}}}<!-- | ||
-->{| class="wikitable mw-collapsible {{#var:CombatCollapse}}" style="margin:auto; clear:both; width: 100%" | -->{| class="wikitable mw-collapsible" style="margin:auto; clear:both; width: 100%" | ||
|- | |||
!style="background-color:#275C87;color:#FFFFFF;"|Monsters & Combat | |||
|- | |||
| style="padding:0px" | | |||
{| class="wikitable mw-collapsible {{#var:CombatCollapse}}" style="margin:auto; clear:both; width: 100%" | |||
|- | |- | ||
! colspan=2 |[[Combat areas|Combat Areas]] | ! colspan=2 |[[Combat areas|Combat Areas]] | ||
Line 107: | Line 112: | ||
| {{Icon|type=dungeon|Fire God Dungeon|menu=yes}} | | {{Icon|type=dungeon|Fire God Dungeon|menu=yes}} | ||
| class="center" | {{MonsterIcon|Fire Guard|menu=yes}} {{*}} {{MonsterIcon|Fire Monster|menu=yes}} {{*}} {{MonsterIcon|Fire Golem|menu=yes}} {{*}} {{MonsterIcon|Pyra|menu=yes}} {{*}} {{MonsterIcon|Ignis|menu=yes}} {{*}} {{MonsterIcon|Ragnar|menu=yes}} | | class="center" | {{MonsterIcon|Fire Guard|menu=yes}} {{*}} {{MonsterIcon|Fire Monster|menu=yes}} {{*}} {{MonsterIcon|Fire Golem|menu=yes}} {{*}} {{MonsterIcon|Pyra|menu=yes}} {{*}} {{MonsterIcon|Ignis|menu=yes}} {{*}} {{MonsterIcon|Ragnar|menu=yes}} | ||
|} | |||
|}</onlyinclude> | |}</onlyinclude> |
Revision as of 19:59, 4 September 2020
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