Template:Infobox location: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
An infobox for a | An infobox for a location profile in the Main namespace. | ||
= Usage = | = Usage = | ||
<nowiki>{{Infobox location</nowiki> | <nowiki>{{Infobox location</nowiki> | ||
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 --> | |||
| coords = A1 <!-- Coordinates if on World Map --> | |||
| 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) --> | ||
| chests = 0 <!-- Number of Chests immediately available --> | | chests = 0 <!-- Number of Chests immediately available --> | ||
Line 11: | Line 14: | ||
| bombable = 0 <!-- Number of Chests behind a bombable wall --> | | bombable = 0 <!-- Number of Chests behind a bombable wall --> | ||
| bonkable = 0 <!-- Number of Chests behind a bonkable wall --> | | bonkable = 0 <!-- Number of Chests behind a bonkable wall --> | ||
| viewable = 0 <!-- 1 if viewable before accessible, 0 if not --> | |||
| other = 0 <!-- Doesn't fit above categories, set label below --> | | other = 0 <!-- Doesn't fit above categories, set label below --> | ||
| other-label = Other <!-- Label for "other" count --> | | other-label = Other <!-- Label for "other" count --> | ||
Line 17: | Line 21: | ||
</noinclude><includeonly>{| class="infobox wikitable" style="float:right;" | </noinclude><includeonly>{| class="infobox wikitable" style="float:right;" | ||
|- | |- | ||
! colspan="2" | {{ | ! colspan="2" | {{Inverted}} | ||
|- {{#if: {{{image|}}} | | style="display:none;" }} | |- {{#if: {{{image|}}} | | style="display:none;" }} | ||
! colspan="2" | [[Image:{{{image}}}]] | ! colspan="2" | [[Image:{{{image}}}]] | ||
Line 24: | Line 28: | ||
|- {{#if: {{{subzone|}}} | | style="display:none;" }} | |- {{#if: {{{subzone|}}} | | style="display:none;" }} | ||
! Subzone || [[{{{subzone}}}]] | ! Subzone || [[{{{subzone}}}]] | ||
|- {{#if: {{{floor|}}} | | style="display:none;" }} | |||
! Floor || {{{floor}}} | |||
|- {{#if: {{{coords|}}} | | style="display:none;" }} | |||
! Coordinates || [http://alttp.mymm1.com/plane.php?hilite={{{coords}}}&mode={{lc:{{{world|Light}}}}}#{{{coords}}} {{{coords}}}] | |||
|- {{#ifexpr: {{{cost|0}}} > 0 | | style="display:none;" }} | |||
! Cost !! {{{cost|0}}} | |||
|- {{#ifexpr: {{{standing|0}}} > 0 | | style="display:none;" }} | |- {{#ifexpr: {{{standing|0}}} > 0 | | style="display:none;" }} | ||
! Standing !! {{{standing|0}}} | ! Standing !! {{{standing|0}}} | ||
Line 29: | Line 39: | ||
! [[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: {{{bonkable|0}}} > 0 | | style="display:none;" }} | |- {{#ifexpr: {{{bonkable|0}}} > 0 | | style="display:none;" }} | ||
! [[Bonk]] | ! {{#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}}} | ||
|}</includeonly> | |- {{#ifexpr: {{{viewable|0}}} > 0 | | style="display:none;" }} | ||
! colspan="2" | Viewable prior to Accessible | |||
|}{{#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]]|}} | |||
{{#if: {{{cost|}}} |[[Category:Locations with a Cost]]|}} | |||
{{#ifexpr: {{{standing|0}}} > 0|[[Category:Standing Item Locations]]|}} | |||
{{#ifexpr: {{{viewable|0}}} > 0|[[Category:Viewable Locations]]|}}</includeonly> |
Latest revision as of 01:15, 30 April 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 }}