Template:Location: Difference between revisions
Cdjensen94 (talk | contribs) |
Cdjensen94 (talk | contribs) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
<image source="image"><caption source="imagecaption"/></image> | <image source="image"><caption source="imagecaption"/></image> | ||
<image source="map"><caption source="mapcaption"/></image> | <image source="map"><caption source="mapcaption"/></image> | ||
<data source="type"><label>Type</label></data> | <group> | ||
<data source=" | <header>Classification</header> | ||
<data source=" | <data source="universe"><label>Universe</label></data> | ||
<data source="region"><label>Sector / Region</label></data> | |||
<data source="planet"><label>Planet / World</label></data> | |||
<data source="system"><label>Star System</label></data> | |||
<data source=" | <data source="galaxy"><label>Galaxy</label></data> | ||
<data source="location"><label>Location</label></data> | |||
<data source="type"><label>Type</label></data> | |||
<data source="affiliation"><label>Affiliation</label></data> | |||
<data source="status"><label>Status</label></data> | |||
</group> | |||
<group> | |||
<header>Details</header> | |||
<data source="function"><label>Function</label></data> | |||
<data source="features"><label>Features</label></data> | |||
<data source="economy"><label>Economy</label></data> | |||
<data source="government"><label>Government / Control</label></data> | |||
<data source="population"><label>Population</label><default>Unknown</default></data> | |||
<data source="founded"><label>Founded</label><default>Unknown</default></data> | |||
<data source="founder"><label>Founder(s)</label></data> | |||
</group> | |||
<group> | |||
<header>Relationships</header> | |||
<data source="notable_residents"><label>Notable Residents</label></data> | |||
<data source="notable_events"><label>Notable Events</label></data> | |||
<data source="notable_worlds"><label>Notable Worlds</label></data> | |||
<data source="inhabitants"><label>Inhabitants</label></data> | |||
<data source="affiliated_groups"><label>Affiliated Groups</label><format> | |||
{{#if: {{{affiliated_group3|}}} | | |||
[[{{{affiliated_groups}}}]]<br>[[{{{affiliated_group2|}}}]]<br>[[{{{affiliated_group3}}}]] | |||
| {{#if: {{{affiliated_group2|}}} |[[{{{affiliated_groups}}}]]<br>[[{{{affiliated_group2}}}]] | |||
|[[{{{affiliated_groups}}}]] }} | |||
}} | |||
</format></data> | |||
</group> | |||
<group> | |||
<header>Meta</header> | |||
<data source="level"><label>Level</label></data> | |||
<data source="creator"><label>Creator</label></data> | |||
<data source="author"><label>Author</label></data> | |||
<data source="source"><label>Source</label></data> | |||
<data source="series"><label>Series</label></data> | |||
<data source="year"><label>Year</label></data> | |||
</group> | |||
</infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}<templatedata> | </infobox>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Category:Locations]]}}</includeonly><noinclude>{{Documentation}}<templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"title": {}, | "title": { | ||
"image": {}, | "aliases": [ | ||
"map": {}, | "name" | ||
"type": {}, | ], | ||
" | "type": "string" | ||
"location": {}, | }, | ||
" | "image": { | ||
" | "type": "wiki-file-name" | ||
}, | |||
"map": { | |||
"type": "wiki-file-name" | |||
}, | |||
"universe": { | |||
"type": "wiki-page-name" | |||
}, | |||
"region": { | |||
"type": "content" | |||
}, | |||
"planet": { | |||
"type": "content" | |||
}, | |||
"system": { | |||
"type": "content" | |||
}, | |||
"galaxy": { | |||
"type": "content" | |||
}, | |||
"location": { | |||
"type": "content" | |||
}, | |||
"type": { | |||
"type": "string" | |||
}, | |||
"affiliation": { | |||
"type": "content" | |||
}, | |||
"status": { | |||
"type": "string" | |||
}, | |||
"function": { | |||
"type": "string" | |||
}, | |||
"features": { | |||
"type": "string" | |||
}, | |||
"economy": { | |||
"type": "content" | |||
}, | |||
"government": { | |||
"type": "content" | |||
}, | |||
"population": { | |||
"type": "number" | |||
}, | |||
"founded": { | |||
"type": "content" | |||
}, | |||
"founder": { | |||
"type": "content" | |||
}, | |||
"notable_residents": { | |||
"type": "content" | |||
}, | |||
"notable_events": { | |||
"type": "content" | |||
}, | |||
"notable_worlds": { | |||
"type": "content" | |||
}, | |||
"inhabitants": {}, | "inhabitants": {}, | ||
" | "affiliated_groups": { | ||
" | "type": "wiki-page-name" | ||
} | }, | ||
"affiliated_group2": { | |||
"type": "wiki-page-name" | |||
}, | |||
"affiliated_group3": { | |||
"type": "wiki-page-name" | |||
}, | |||
"level": { | |||
"type": "string" | |||
}, | |||
"creator": { | |||
"type": "wiki-page-name" | |||
}, | |||
"author": { | |||
"type": "wiki-page-name" | |||
}, | |||
"source": { | |||
"type": "wiki-page-name" | |||
}, | |||
"series": { | |||
"type": "content" | |||
}, | |||
"year": { | |||
"type": "number" | |||
}, | |||
"imagecaption": { | |||
"type": "line" | |||
}, | |||
"mapcaption": { | |||
"type": "line" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"imagecaption", | |||
"map", | |||
"mapcaption", | |||
"universe", | |||
"region", | |||
"planet", | |||
"system", | |||
"galaxy", | |||
"location", | |||
"type", | |||
"affiliation", | |||
"status", | |||
"function", | |||
"features", | |||
"economy", | |||
"government", | |||
"population", | |||
"founder", | |||
"founded", | |||
"notable_residents", | |||
"notable_events", | |||
"notable_worlds", | |||
"inhabitants", | |||
"affiliated_groups", | |||
"affiliated_group2", | |||
"affiliated_group3", | |||
"level", | |||
"creator", | |||
"author", | |||
"source", | |||
"series", | |||
"year" | |||
] | |||
} | } | ||
</templatedata></noinclude> | </templatedata>[[Category:Infobox templates]][[Category:Templates]]</noinclude> | ||
Latest revision as of 10:08, 8 October 2025
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Purpose
The Location template provides a standardized infobox for any location within the Continuum Universes setting — including planets, cities, districts, regions, and stations. It replaces multiple narrow templates with one flexible, universal format compatible with both real and in-universe locations.
Usage
Place the template at the top of an article about a location.
Basic Syntax
{{Location
| title = Crimson Mile
| image = CrimsonMile.jpg
| imagecaption = The illuminated heart of [[Neo Terra Prime II]].
| map = NeoTerraSectorMap.png
| mapcaption = Location within the Neo Terra Sector
| universe = [[Galaxa]]
| region = [[Neo Terra Sector]]
| planet = [[Neo Terra Prime II]]
| system = [[Neo Terra System]]
| galaxy = [[Galaxa Spiral]]
| location = Central Megadome, Lower Quadrant
| type = Entertainment District
| affiliation = [[Guild of Pleasure Artisans]]
| status = Active
| function = Adult entertainment, tourism, and sensory arts
| features = Neon architecture, holographic theatres, nightlife
| economy = Cultural tourism, performance art, leisure industry
| government = [[Nightwatch (Neo Terra)|Nightwatch]]
| population = 4,200,000
| founded = 328 A.E.
| founder = [[House Tahrol]]
| notable_residents = [[Aenya Tahrol]], [[Squat Lollipop]]
| notable_events = Signing of the [[Directive 77-C]]
| notable_worlds = [[Carthion]], [[Vel'Sura IX]]
| inhabitants = [[Humans (Galaxa)|Humans]], [[Synths]]
| affiliated_groups = [[Guild of Pleasure Artisans]]
| affiliated_group2 = [[Nightwatch]]
| affiliated_group3 = [[House Tahrol]]
| level = Urban District
| creator = [[Jensen Saga Studio]]
| author = [[Christian Daniel Jensen]]
| source = ''Galaxa Chronicles, Vol. II''
| series = [[Galaxa]]
| year = 4328
}}
Parameters
Classification
title- Name of the location. Alternate alias:
name. image- Primary image file (e.g. map, cityscape, or concept art).
imagecaption- Caption describing the image.
map- Optional secondary image, such as a regional or planetary map.
mapcaption- Caption describing the map.
universe- The universe or continuity where the location exists (e.g. Galaxa, Aerenda).
region- The region or sector containing the location.
planet- Planet on which the location is situated.
system- Star system, if applicable.
galaxy- The galaxy in which the location resides.
location- A smaller in-world coordinate (district, building, etc.).
type- Classification of the location (e.g. city, planet, base, district).
affiliation- Political or organizational control.
status- Current operational state (e.g. Active, Abandoned, Destroyed).
Details
function- Primary purpose or use of the location.
features- Key structural or cultural features.
economy- Description of local industries or economic relevance.
government- Ruling power or administrative body.
population- Estimated inhabitants.
founded- Founding year or era.
founder- Individual or group credited with creation or establishment.
Relationships
notable_residents- Significant people associated with the location.
notable_events- Important historical events occurring there.
notable_worlds- Other related planets or systems.
inhabitants- Primary species or population groups.
affiliated_groups/affiliated_group2/affiliated_group3- Related organizations, guilds, or factions.
Meta
level- Level of importance or classification (e.g. planetary capital, district, outpost).
creator- Person or team who conceptualized the location.
author- Lore or article author.
source- Book, game, or document where the location first appeared.
series- Continuum or media franchise name.
year- Year of in-universe or publication reference.
Example Output
Notes
- If used in the **main namespace**, the template automatically adds the page to '.
- Missing parameters are simply omitted from the infobox — no errors or empty fields.
- It supports both real-world and fictional contexts with the same structure.
See also
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title name | no description | String | optional |
| image | image | no description | File | optional |
| imagecaption | imagecaption | no description | Line | optional |
| map | map | no description | File | optional |
| mapcaption | mapcaption | no description | Line | optional |
| universe | universe | no description | Page name | optional |
| region | region | no description | Content | optional |
| planet | planet | no description | Content | optional |
| system | system | no description | Content | optional |
| galaxy | galaxy | no description | Content | optional |
| location | location | no description | Content | optional |
| type | type | no description | String | optional |
| affiliation | affiliation | no description | Content | optional |
| status | status | no description | String | optional |
| function | function | no description | String | optional |
| features | features | no description | String | optional |
| economy | economy | no description | Content | optional |
| government | government | no description | Content | optional |
| population | population | no description | Number | optional |
| founder | founder | no description | Content | optional |
| founded | founded | no description | Content | optional |
| notable_residents | notable_residents | no description | Content | optional |
| notable_events | notable_events | no description | Content | optional |
| notable_worlds | notable_worlds | no description | Content | optional |
| inhabitants | inhabitants | no description | Unknown | optional |
| affiliated_groups | affiliated_groups | no description | Page name | optional |
| affiliated_group2 | affiliated_group2 | no description | Page name | optional |
| affiliated_group3 | affiliated_group3 | no description | Page name | optional |
| level | level | no description | String | optional |
| creator | creator | no description | Page name | optional |
| author | author | no description | Page name | optional |
| source | source | no description | Page name | optional |
| series | series | no description | Content | optional |
| year | year | no description | Number | optional |