Template:Infobox location: Difference between revisions
(Created page with "<noinclude>{{page warning|message=This template is in draft. Appears to need array extension to function properly.}}</noinclude><includeonly>;Location :{{#if: {{{1|}}} | {{#arraymap: {{{1}}} |;|@@@ | {{#switch:{{lc:@@@}} | varies = ''Varies'' }} |<br /> }}<!-- Store detailed location for single locations only: -->{{#if: {{#pos: {{{1|}}} |;}} | {{#set: Located in tree=Various }} }} | ''Unspecified'' }}</includeonly><noinclude> == D...") |
No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{page warning|message= | <noinclude>{{page warning|message=delete}}</noinclude><includeonly>;[[Location]] | ||
:{{#if: {{{1|}}} | :{{#if: {{{1|}}} | ||
| {{#arraymap: {{{1}}} |;|@@@ | | {{#arraymap: {{{1}}} |;|@@@ |
Latest revision as of 22:33, 19 February 2025

Warning:
Description
Creates a list of areas for display in infoboxes where articles can be located in one or more locations. The parameter is a semi-colon-separated list of locations.
Usage
{{infobox location|location[; location2...]}}
Parameters
- 1 (unnamed parameter)
- Semi-colon separated list of locations
Example
<templatestyles src="NPC infobox/styles.css" /><div class="infobox"> {{Infobox location|Depthless Orifice; Imperial Castle of Rog}} {{clear}} </div>
Page Template:NPC infobox/styles.css has no content.
- Location
- {{#arraymap: Depthless Orifice; Imperial Castle of Rog |;|@@@
| |
}}{{#set: Located in tree=Various }}