Template:Infobox location

From FHX Wiki
Revision as of 05:07, 27 June 2024 by Ryzuhr (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning:
This template is in draft. Appears to need array extension to function properly.

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 }}