Template:CombatNav: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Added a header to the nav.) |
mNo edit summary |
||
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" style="margin:auto; clear:both; width: 100%" | -->{| class="wikitable mw-collapsible" style="margin:auto; clear:both; width: 100%; margin-top:10px" | ||
|- | |- | ||
!style="background-color:#275C87;color:#FFFFFF;"|Monsters & Combat | !style="background-color:#275C87;color:#FFFFFF;"|Monsters & Combat |
Revision as of 13:03, 7 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