Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox location/doc: Difference between revisions

Template page
(import from star citizen)
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:


{{t|Infobox location}} is an infobox template for use in articles on the individual location pages.
{{t|Infobox location}} is an infobox template for use in articles on the individual location pages.
== Usage ==
Note: Like other infoboxes, you don't need to put units and separators in the infobox. It will be added automatically.
<pre><nowiki>
{{Infobox location
| name = <!-- Location name -->
| image = <!-- Image name on wiki -->
| type = <!-- Anomaly / Asteroid / Asteroid belt / Asteroid field / Black hole / Jump point / Landing zone / Landmark / Moon / Planet / Planetoid / Satellite / Space station / Star -->
| classification = <!-- Location type -->
| system = <!-- System name -->
| locatedtype = <!-- On / In / Orbits -->
| locatedname = <!-- Wiki page name of the location located -->
| habitable = <!-- Air breathable or not (true/false) -->
| shops = <!-- Shops at the location -->
| services = <!-- Services provided by the location -->
| population = <!-- Population of the location -->
| founder = <!-- Founder of the location -->
| founded = <!-- Year founded or discovered, use {{SDA}} template -->
| affiliation1 = <!-- Faction affiliated  -->
| affiliation2 = <!-- Faction affiliated  -->
| affiliation3 = <!-- Faction affiliated  -->
| galactapediaurl = <!-- URL of Galactapedia page -->
| starmapurl = <!-- URL of ARK Starmap -->
}}
</nowiki></pre>


== See also ==
== See also ==
Line 38: Line 13:
"label": "Image",
"label": "Image",
"description": "The file name of the image of the location",
"description": "The file name of the image of the location",
"example": "Lorville 3.3.6 Raoul.png",
"example": "TownHall.png",
"type": "string",
"type": "wiki-file-name",
"suggested": true
"suggested": true
},
},
Line 45: Line 20:
"label": "Name",
"label": "Name",
"description": "The name of the location",
"description": "The name of the location",
"example": "Lorville",
"example": "BakiBurg",
"type": "string",
"type": "string",
"required": true
"required": true
},
},
"system": {
"type": {
"label": "System",
"label": "Type",
"description": "The star system that the location is in",
"description": "The type of the location. Should be either of: Town, Farm, Shop, Public, Private, Other.",
"example": "Stanton",
"example": "Town",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"type": {
"population": {
"label": "Type",
"label": "Population",
"description": "The type of the location",
"description": "Number of people at the location",
"example": "Landing zone",
"example": "28",
"type": "number"
},
"founder": {
"label": "Founder",
"description": "Founder(s) of the location",
"example": "[[User:BakiDance]], BakiBot",
"type": "string"
},
"shops": {
"label": "Shops",
"description": "Number of shops at the location",
"type": "number",
"suggested": true,
"example": "10"
},
"worldmapurl": {
"label": "Worldmap URL",
"description": "The URL of the location on the worldmap. 3D view is preferred. ",
"example": "https://worldmap.prismparty.net/survival#survival;surface;6116,64,-4045;6",
"type": "url",
"suggested": true
},
"server": {
"label": "Server",
"description": "The server the project is located.",
"example": "Survival",
"type": "string",
"type": "string",
"suggested": true
"required": true,
"suggestedvalues": [
"Survival",
"Creative"
]
},
},
"classification": {
"coordinates": {
"label": "Classification",
"label": "Coordinates",
"description": "The classification of the location",
"description": "The coordinates to the location. X and Z only.",
"example": "City",
"example": "1,203 2,234",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"locatedtype": {
"playerwarp": {
"label": "Located preposition",
"label": "Player warp",
"description": "Preposition used in located field. (e.g. On / In / Orbit)",
"description": "The name of the pwarp (in commands).",
"example": "On",
"example": "Baki-Burg",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
},
"locatedname": {
"members": {
"label": "Located name",
"label": "Members",
"description": "Wiki page name of the location located",
"description": "Names of important members or helpers.",
"example": "Hurston",
"example": "BakiDance, HoodieBlue",
"type": "wiki-page-name",
"type": "string",
"suggested": true
"suggested": true
},
},
"habitable": {
"residents": {
"label": "Habitable",
"label": "Residents",
"description": "Whether the air is breathable or not",
"description": "Names of important residents",
"example": "True",
"example": "thirsty_plant",
"type": "boolean",
"type": "string",
"suggested": true
"suggested": true,
"deprecated": "Create a section within the page's article text instead."
},
},
"affiliation1": {
"discordurl": {
"label": "Affiliation 1",
"label": "Discord URL",
"description": "Wiki page name of faction affiliated",
"description": "Discord invite link to the project's guild. Not the official Prism Party link.",
"example": "Hurston Dynamics",
"example": "https://discord.gg/gwuGnK3",
"type": "wiki-page-name",
"type": "url",
"suggested": true
"suggested": true
},
},
"affiliation2": {
"world": {
"label": "Affiliation 2",
"label": "World",
"description": "Wiki page name of faction affiliated",
"description": "The world the project is located.",
"example": "Hurston Dynamics",
"example": "Overworld",
"type": "wiki-page-name"
"type": "string",
"required": true
},
},
"affiliation3": {
"established": {
"label": "Affiliation 3",
"label": "Established",
"description": "Wiki page name of faction affiliated",
"description": "The month and year the project was started, in long form.",
"example": "Hurston Dynamics",
"example": "January 2019",
"type": "wiki-page-name"
"type": "date",
"suggested": true
},
},
"population": {
"completed": {
"label": "Population",
"label": "Completed",
"description": "Population of the location (no separator)",
"description": "The month and year the project was finished, in long form.",
"example": "100000",
"example": "October 2023",
"type": "number"
"type": "date",
"suggested": true
},
},
"founder": {
"planetmcurl": {
"label": "Founder",
"label": "Planet Minecraft URL",
"description": "Founder(s) of the location",
"description": "The URL of the project's page on Planet Minecraft",
"example": "[[Magda Hurston]], [[Gavin E Hurston]]",
"example": "https://www.planetminecraft.com/server/prism-party/",
"type": "string"
"type": "url",
"suggested": true
},
},
"founded": {
"redditurl": {
"label": "Founded",
"label": "Reddit URL",
"description": "Founded date of the location",
"description": "The URL to the project's post on Reddit",
"example": "{{SDA|2912|sctime=yes}}"
"example": "https://reddit.com/r/Minecraftbuilds/",
"type": "url",
"suggested": true
},
},
"galactapediaurl": {
"tumblrurl": {
"label": "Galactapedia URL",
"label": "tumblr URL",
"description": "The URL of the location on Galactapedia",
"description": "The URL to the project's post on tumblr",
"example": "https://robertsspaceindustries.com/galactapedia/article/Rw1ZlJNE36-lorville",
"example": "https://prismparty.tumblr.com/post/703757954696019968",
"type": "url",
"type": "url",
"suggested": true
"suggested": true
},
},
"starmapurl": {
"article1": {
"label": "Starmap URL",
"label": "Article 1",
"description": "The URL of the location on ARK Starmap",
"description": "An internal link to an article associated with this project",
"example": "https://robertsspaceindustries.com/starmap?selection=STANTON.LZS.LORVILLE",
"example": "[[Dream Library]]",
"type": "url"
"type": "wiki-page-name",
"suggested": true
},
},
"shops": {
"article2": {
"label": "Shops",
"label": "Article 2",
"description": "Shops at the location",
"description": "An internal link to an article associated with this project",
"type": "unknown",
"example": "[[Dream Library]]",
"type": "wiki-page-name",
"suggested": true
"suggested": true
},
},
"services": {
"article3": {
"label": "Services",
"label": "Article 3",
"description": "Services provided by the location",
"description": "An internal link to an article associated with this project",
"example": "[[Dream Library]]",
"type": "wiki-page-name",
"suggested": true
"suggested": true
}
}
Line 155: Line 171:
"format": "{{_\n| _______________________________ = _\n}}\n",
"format": "{{_\n| _______________________________ = _\n}}\n",
"paramOrder": [
"paramOrder": [
"name",
"image",
"image",
"name",
"server",
"system",
"world",
"coordinates",
"playerwarp",
"type",
"type",
"classification",
"locatedtype",
"locatedname",
"habitable",
"shops",
"shops",
"services",
"affiliation1",
"affiliation2",
"affiliation3",
"population",
"population",
"established",
"completed",
"founder",
"founder",
"founded",
"members",
"galactapediaurl",
"residents",
"starmapurl"
"worldmapurl",
"discordurl",
"planetmcurl",
"tumblrurl",
"redditurl",
"article1",
"article2",
"article3"
]
]
}
}
</templatedata>
</templatedata>

Latest revision as of 02:48, 15 June 2023

{{Infobox location}} is an infobox template for use in articles on the individual location pages.

See also

TemplateData

This template is an infobox template for use in articles on the individual location pages.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

The name of the location

Example
BakiBurg
Stringrequired
Imageimage

The file name of the image of the location

Example
TownHall.png
Filesuggested
Serverserver

The server the project is located.

Suggested values
Survival Creative
Example
Survival
Stringrequired
Worldworld

The world the project is located.

Example
Overworld
Stringrequired
Coordinatescoordinates

The coordinates to the location. X and Z only.

Example
1,203 2,234
Stringsuggested
Player warpplayerwarp

The name of the pwarp (in commands).

Example
Baki-Burg
Stringsuggested
Typetype

The type of the location. Should be either of: Town, Farm, Shop, Public, Private, Other.

Example
Town
Stringsuggested
Shopsshops

Number of shops at the location

Example
10
Numbersuggested
Populationpopulation

Number of people at the location

Example
28
Numberoptional
Establishedestablished

The month and year the project was started, in long form.

Example
January 2019
Datesuggested
Completedcompleted

The month and year the project was finished, in long form.

Example
October 2023
Datesuggested
Founderfounder

Founder(s) of the location

Example
[[User:BakiDance]], BakiBot
Stringoptional
Membersmembers

Names of important members or helpers.

Example
BakiDance, HoodieBlue
Stringsuggested
Residentsresidents

Names of important residents

Example
thirsty_plant
Stringdeprecated
Worldmap URLworldmapurl

The URL of the location on the worldmap. 3D view is preferred.

Example
https://worldmap.prismparty.net/survival#survival;surface;6116,64,-4045;6
URLsuggested
Discord URLdiscordurl

Discord invite link to the project's guild. Not the official Prism Party link.

Example
https://discord.gg/gwuGnK3
URLsuggested
Planet Minecraft URLplanetmcurl

The URL of the project's page on Planet Minecraft

Example
https://www.planetminecraft.com/server/prism-party/
URLsuggested
tumblr URLtumblrurl

The URL to the project's post on tumblr

Example
https://prismparty.tumblr.com/post/703757954696019968
URLsuggested
Reddit URLredditurl

The URL to the project's post on Reddit

Example
https://reddit.com/r/Minecraftbuilds/
URLsuggested
Article 1article1

An internal link to an article associated with this project

Example
[[Dream Library]]
Page namesuggested
Article 2article2

An internal link to an article associated with this project

Example
[[Dream Library]]
Page namesuggested
Article 3article3

An internal link to an article associated with this project

Example
[[Dream Library]]
Page namesuggested