Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
= Usage =
= Usage =
  <nowiki>{{Infobox location</nowiki>
  <nowiki>{{Infobox location</nowiki>
  | world   = Light/Dark
  | world       = Light/Dark
  | image   = Uploaded Location Image
  | image       = Uploaded Location Image
  | subzone = Subzone/Region Name <!-- Subzone/Region name -->
  | subzone     = Subzone/Region Name <!-- Subzone/Region name -->
  | standing = 0 <!-- Number of Standing items (Mushroom, Piece of Heart, etc) -->
  | standing   = 0 <!-- Number of Standing items (Mushroom, Piece of Heart, etc) -->
  | chests   = 0 <!-- Number of Chests immediately available -->
  | chests     = 0 <!-- Number of Chests immediately available -->
  | npc     = 0 <!-- Number of NPCs that give items -->
  | npc         = 0 <!-- Number of NPCs that give items -->
  | bombable = 0 <!-- Number of Chests behind a bombable wall -->
  | bombable   = 0 <!-- Number of Chests behind a bombable wall -->
  | bonkable = 0 <!-- Number of Chests behind a bonkable wall -->
  | bonkable   = 0 <!-- Number of Chests behind a bonkable wall -->
| other      = 0 <!-- Doesn't fit above categories, set label below -->
| other-label = Other <!-- Label for "other" count -->
  }}
  }}
[[Image:Infobox location example.png|right]]
[[Image:Infobox location example.png|right]]
Line 32: Line 34:
|- {{#ifexpr: {{{bonkable|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{bonkable|0}}} > 0 | | style="display:none;" }}
! [[Bonk]]able !! {{{bonkable|0}}}
! [[Bonk]]able !! {{{bonkable|0}}}
|- {{#ifexpr: {{{other|0}}} > 0 | | style="display:none;" }}
! {{other-label|Other}} !! {{{other|0}}}
|}</includeonly>
|}</includeonly>

Revision as of 05:05, 12 September 2018

An infobox for a user profile in the User namespace.

Usage

{{Infobox location
| world       = Light/Dark
| image       = Uploaded Location Image
| subzone     = Subzone/Region Name 
| standing    = 0 
| chests      = 0 
| npc         = 0 
| bombable    = 0 
| bonkable    = 0 
| other       = 0 
| other-label = Other 
}}
Infobox location example.png