Difference between revisions of "Template:Infobox dungeon room"

From ALttPR Wiki
Jump to: navigation, search
Line 4: Line 4:
 
  <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) -->
 +
| supertile = 1 <!-- Supertile ID -->
 
  | locations = 1 <!-- Total number of item locations, including boss drop -->
 
  | locations = 1 <!-- Total number of item locations, including boss drop -->
 
  | mobkeys  = 1 <!-- Total number of small keys that drop from mobs -->
 
  | mobkeys  = 1 <!-- Total number of small keys that drop from mobs -->
Line 10: Line 11:
 
{{Infobox dungeon room
 
{{Infobox dungeon room
 
| dungeon  = Dungeon Name
 
| dungeon  = Dungeon Name
 +
| supertile = 1
 
| locations = 1
 
| locations = 1
 
| mobkeys  = 1
 
| mobkeys  = 1
Line 22: Line 24:
 
! Dungeon
 
! Dungeon
 
! [[{{#ifeq:{{{dungeon}}}||{{ROOTPAGENAME}}|{{{dungeon}}}}}]]
 
! [[{{#ifeq:{{{dungeon}}}||{{ROOTPAGENAME}}|{{{dungeon}}}}}]]
 +
|- {{#ifexpr: {{{supertile|0}}} > 0 | | style="display:none;" }}
 +
! Supertile !! {{UnderworldMapLink|{{{supertile}}}}}
 
|- {{#ifexpr: {{{locations|0}}} > 0 | | style="display:none;" }}
 
|- {{#ifexpr: {{{locations|0}}} > 0 | | style="display:none;" }}
 
! Item Locations !! {{{locations}}}
 
! Item Locations !! {{{locations}}}

Revision as of 06:55, 14 January 2020

An infobox for a dungeon room.

Usage

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