Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 40: Line 40:
! {{#ifexpr: {{{bombable|0}}} > 0 |[[Bombable wall|Bombable]]|Bombable}} !! {{{bombable|0}}}
! {{#ifexpr: {{{bombable|0}}} > 0 |[[Bombable wall|Bombable]]|Bombable}} !! {{{bombable|0}}}
|- {{#ifexpr: {{{bonkable|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{bonkable|0}}} > 0 | | style="display:none;" }}
! {{#ifexpr: {{{bonkable|0}}} > 0 |[[Bonk]]able|Bonkable}} !! {{{bonkable|0}}}
! {{#ifexpr: {{{bonkable|0}}} > 0 |[[Bonk|Bonkable]]|Bonkable}} !! {{{bonkable|0}}}
|- {{#ifexpr: {{{other|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{other|0}}} > 0 | | style="display:none;" }}
! {{{other-label|Other}}} !! {{{other|0}}}
! {{{other-label|Other}}} !! {{{other|0}}}

Revision as of 23:53, 25 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