Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
  | image      = Uploaded Location Image
  | image      = Uploaded Location Image
  | subzone    = Subzone/Region Name <!-- Subzone/Region name -->
  | subzone    = Subzone/Region Name <!-- Subzone/Region name -->
| floor      = 1F <!-- Floor name if multiple floors -->
  | 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 26: Line 27:
|- {{#if: {{{subzone|}}} | | style="display:none;" }}
|- {{#if: {{{subzone|}}} | | style="display:none;" }}
! Subzone || [[{{{subzone}}}]]
! Subzone || [[{{{subzone}}}]]
|- {{#if: {{{floor|}}} | | style="display:none;" }}
! Floor || [[{{{floor}}}]]
|- {{#ifexpr: {{{cost|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{cost|0}}} > 0 | | style="display:none;" }}
! Cost !! {{{cost|0}}}
! Cost !! {{{cost|0}}}

Revision as of 22:44, 24 December 2019

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 
| cost        = 0 
| standing    = 0 
| chests      = 0 
| npc         = 0 
| bombable    = 0 
| bonkable    = 0 
| viewable    = 0 
| other       = 0 
| other-label = Other 
}}
Infobox location example.png