Difference between revisions of "Template:Infobox dungeon room"

From ALttPR Wiki
Jump to: navigation, search
(Created page with "<noinclude> An infobox for a dungeon room. = Usage = <nowiki>{{Infobox dungeon room</nowiki> | dungeon = Dungeon Name <!-- (Defaults to name in page name) --> | chests = 0...")
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
= Usage =
 
= Usage =
 
  <nowiki>{{Infobox dungeon room</nowiki>
 
  <nowiki>{{Infobox dungeon room</nowiki>
  | dungeon = Dungeon Name <!-- (Defaults to name in page name) -->
+
  | dungeon   = Dungeon Name <!-- (Defaults to name in page name) -->
  | chests  = 0 <!-- Total number of item locations, including boss drop -->
+
  | locations = 1 <!-- Total number of item locations, including boss drop -->
  | mobkeys = 0 <!-- Total number of small keys that drop from mobs -->
+
  | mobkeys   = 1 <!-- Total number of small keys that drop from mobs -->
  | potkeys = 0 <!-- Total number of small keys in pots/under skulls -->
+
  | potkeys   = 1 <!-- Total number of small keys in pots/under skulls -->
 
  }}
 
  }}
 
{{Infobox dungeon room
 
{{Infobox dungeon room
| dungeon = Hyrule Castle Escape
+
| dungeon   = Dungeon Name
 +
| locations = 1
 +
| mobkeys  = 1
 +
| potkeys  = 1
 
}}
 
}}
 
</noinclude><includeonly>{| class="infobox wikitable" | style="float:right;"
 
</noinclude><includeonly>{| class="infobox wikitable" | style="float:right;"
Line 18: Line 21:
 
|-
 
|-
 
! Dungeon
 
! Dungeon
! [[{{#ifeq:{{{dungeon|}}}||{{{dungeon}}}|{{ROOTPAGENAME}}}}]]
+
! [[{{#ifeq:{{{dungeon}}}||{{ROOTPAGENAME}}|{{{dungeon}}}}}]]
 +
|- {{#ifexpr: {{{locations|0}}} > 0 | | style="display:none;" }}
 +
! Item Locations !! {{{locations}}}
 
|- {{#ifexpr: {{{mobkeys|0}}} > 0 | | style="display:none;" }}
 
|- {{#ifexpr: {{{mobkeys|0}}} > 0 | | style="display:none;" }}
 
! Mob Keys !! {{{mobkeys}}}
 
! Mob Keys !! {{{mobkeys}}}

Revision as of 06:51, 14 January 2020

An infobox for a dungeon room.

Usage

{{Infobox dungeon room
| dungeon   = Dungeon Name 
| locations = 1 
| mobkeys   = 1 
| potkeys   = 1 
}}
Infobox dungeon room^
Zone Zone Name
Dungeon Dungeon Name
Supertile {{{supertile}}}
Tile {{{tile}}}
Item Locations 1
Mob Keys 1
Pot Keys 1