Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 7: Line 7:
  | subzone    = Subzone/Region Name <!-- Subzone/Region name -->
  | subzone    = Subzone/Region Name <!-- Subzone/Region name -->
  | floor      = 1F <!-- Floor name if multiple floors -->
  | floor      = 1F <!-- Floor name if multiple floors -->
| coords      = A1 <!-- Coordinates if on World Map -->
  | cost        = 0 <!-- Cost in Rupees -->
  | cost        = 0 <!-- Cost in Rupees -->
  | standing    = 0 <!-- Number of Standing items (Mushroom, Piece of Heart, etc) -->
  | standing    = 0 <!-- Number of Standing items (Mushroom, Piece of Heart, etc) -->
Line 29: Line 30:
|- {{#if: {{{floor|}}} | | style="display:none;" }}
|- {{#if: {{{floor|}}} | | style="display:none;" }}
! Floor || {{{floor}}}
! Floor || {{{floor}}}
|- {{#if: {{{coords|}}} | | style="display:none;" }}
! Coordinates || [http://alttp.mymm1.com/plane.php?hilite={{{coords}}}&mode={{lc:{{{world|Light}}}}}#{{{coords}}} {{{coords}}}]
|- {{#ifexpr: {{{cost|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{cost|0}}} > 0 | | style="display:none;" }}
! Cost !! {{{cost|0}}}
! Cost !! {{{cost|0}}}

Revision as of 15:46, 3 December 2020

An infobox for a location profile in the Main namespace.

Usage

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