Template:Infobox location: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 48: Line 48:
|- {{#ifexpr: {{{viewable|0}}} > 0 | | style="display:none;" }}
|- {{#ifexpr: {{{viewable|0}}} > 0 | | style="display:none;" }}
! colspan="2" | Viewable prior to Accessible
! colspan="2" | Viewable prior to Accessible
|}{{#ifexpr: {{#invoke:String|find|{{PAGENAME}}|/Inverted}} > 0 | [[Category:Inverted State]] | }}</includeonly>
|}{{#ifexpr: {{#invoke:String|find|{{PAGENAME}}|/Inverted}} > 0 | [[Category:Inverted State]] | }}
[[Category:{{{world|Light}}} World Locations]]
{{#if: {{{subzone|}}} |[[Category:{{{subzone|Subzone}}} Locations]]|}}
{{#ifexpr: {{{npc|0}}} > 0|[[Category:NPC Locations]]|}}
{{#ifexpr: {{{bombable|0}}} > 0|[[Category:Bombable Locations]]|}}
{{#ifexpr: {{{bonkable|0}}} > 0|[[Category:Bonkable Locations]]|}}
{{#ifexpr: {{{viewable|0}}} > 0|[[Category:Viewable Locations]]|}}</includeonly>

Revision as of 22:21, 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