Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 54: Line 54:
{{#ifexpr: {{{bombable|0}}} > 0|[[Category:Bombable Locations]]|}}
{{#ifexpr: {{{bombable|0}}} > 0|[[Category:Bombable Locations]]|}}
{{#ifexpr: {{{bonkable|0}}} > 0|[[Category:Bonkable Locations]]|}}
{{#ifexpr: {{{bonkable|0}}} > 0|[[Category:Bonkable Locations]]|}}
{{#ifexpr: {{{cost|0}}} > 0|[[Category:Locations with a Cost]]|}}
{{#if: {{{cost|}}} |[[Category:Locations with a Cost]]|}}
{{#ifexpr: {{{standing|0}}} > 0|[[Category:Standing Item Locations]]|}}
{{#ifexpr: {{{standing|0}}} > 0|[[Category:Standing Item Locations]]|}}
{{#ifexpr: {{{viewable|0}}} > 0|[[Category:Viewable Locations]]|}}</includeonly>
{{#ifexpr: {{{viewable|0}}} > 0|[[Category:Viewable Locations]]|}}</includeonly>

Revision as of 22:27, 9 March 2021

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