Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
! [[Chest]]s !! {{{chests|0}}}
! [[Chest]]s !! {{{chests|0}}}
|- {{#ifexpr: {{{npc|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{npc|0}}} > 0 | | style="display:none;" }}
! NPC !! {{{npc|0}}}
! {{#ifexpr: {{{npc|0}}} > 0 |[[NPC]]|NPC}} !! {{{npc|0}}}
|- {{#ifexpr: {{{bombable|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{bombable|0}}} > 0 | | style="display:none;" }}
! {{#ifexpr: {{{bombable|0}}} > 0 |[[Bombable wall|Bombable]]|Bombable}} !! {{{bombable|0}}}
! {{#ifexpr: {{{bombable|0}}} > 0 |[[Bombable wall|Bombable]]|Bombable}} !! {{{bombable|0}}}

Revision as of 04:01, 18 January 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 
| cost        = 0 
| standing    = 0 
| chests      = 0 
| npc         = 0 
| bombable    = 0 
| bonkable    = 0 
| viewable    = 0 
| other       = 0 
| other-label = Other 
}}
Infobox location example.png