Template:Infobox article/doc: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{t|Infobox article}} is an infobox template for use in articles on the in-game company pages.
{{t|Infobox article}} is an infobox template for use in articles.


== Usage ==
== Usage ==
Line 35: Line 35:
{
{
"params": {
"params": {
"image": {
"Source": {
"label": "Image",
"label": "Source Link",
"description": "File name of the image",
"description": "Asset source link",
"example": "AnvilAerospace.svg",
"example": "https://www.mckinsey.com/capabilities/mckinsey-digital/our-insights/businesss-its-not-my-problem-it-problem",
"type": "wiki-file-name",
"type": "url",
"suggested": true
},
"name": {
"label": "Name",
"description": "Name of the company",
"example": "Anvil Aerospace",
"type": "string",
"required": true
"required": true
},
},
"industry": {
"Parent": {
"label": "Industry",
"label": "Asset Source",
"description": "Industry that the company is in (separate by comma if multiple)",
"description": "Asset source",
"example": "Spacecraft manufacture, spacecraft components",
"type": "string",
"suggested": true
},
"products": {
"label": "Products",
"description": "Products that the company sells",
"example": " Passenger spacecraft, cargo spacecraft, spacecraft components",
"suggested": true
},
"race": {
"label": "Race",
"description": "Race of the company. Default to Human",
"type": "string"
},
"headquarters": {
"label": "Headquarters",
"description": "Headquarter(s) of the company",
"example": "[[Nova Kiev]], [[Terra (planet)|Terra]], [[Terra]]",
"example": "[[Nova Kiev]], [[Terra (planet)|Terra]], [[Terra]]",
"type": "wiki-page-name",
"suggested": true
"suggested": true
},
},
"areaserved": {
"PublishDate": {
"label": "Area served",
"label": "Asset Publish Date",
"description": "Area where the company operates",
"description": "When was article originally published",
"example": "[[United Empire of Earth]]",
"example": "March 30, 2023",
"suggested": true
"type": "date"
},
},
"keypeople": {
"Authors": {
"label": "Key people",
"label": "Asset Authors",
"description": "Key people in the company, such as CEO, chairman, etc.",
"description": "Authors for the original article",
"example": "[[Drake Roberts]] (CEO), [[Erin Chris]] (COO)"
"example": "[[Drake Roberts]] (CEO), [[Erin Chris]] (COO)"
},
},
"founder": {
"Topics": {
"label": "Founder",
"label": "Topics",
"description": "Founder(s) of the company",
"description": "Topics covered by the article",
"example": "[[J.Harris Arnold]]"
"example": "[[Tech for business]], [[Product management]]",
},
"founded": {
"label": "Founded",
"description": "Founding date and location",
"example": "{{Start date and age|2772|sctime=yes}} in [[Nova Kiev]], [[Terra (planet)|Terra]], [[Terra]]"
},
"fate": {
"label": "Fate",
"description": "Fate of the company if defunct",
"example": "Broken up"
},
"defunct": {
"label": "Defunct",
"description": "Defunct date",
"example": "{{Start date and age|2931|11|12|sctime=yes}}"
},
"formerly": {
"label": "Formerly",
"description": "Formerly known as, if the company is renamed",
"example": "Casse Aerospace",
"type": "string"
},
"predecessor": {
"label": "Predecessor",
"description": "Predecessor of the company",
"example": "[[Roberts Space Industries]]"
},
"successor": {
"label": "Successor",
"description": "Successor of the company",
"example": "[[Aegis Dynamics]]"
},
"parent": {
"label": "Parent",
"description": "Parent company/organization of the company",
"example": "[[microTech]]"
},
"subsidiaries": {
"label": "Subsidiaries",
"description": "Subsidiaries of the company",
"example": "[[Crusader Industries]]"
},
"galactapediaurl": {
"label": "Galactapedia URL",
"description": "URL of the Galactapedia page",
"example": "https://robertsspaceindustries.com/galactapedia/article/0qnN6Od6YD-anvil-aerospace",
"type": "url",
"suggested": true
"suggested": true
},
"portfoliourl": {
"label": "Portfolio URL",
"description": "URL of the Portfolio page",
"example": "https://robertsspaceindustries.com/comm-link/spectrum-dispatch/12970-Anvil-Aerospace",
"type": "url"
},
"allies": {
"label": "Allies"
},
"rivals": {
"label": "Rivals"
},
"imagebg": {
"label": "Image background",
"description": "Set background if the image is transparent (light/dark)",
"example": "light",
"type": "string"
}
}
},
},
Line 159: Line 70:
"format": "{{_\n| _______________________________ = _\n}}\n",
"format": "{{_\n| _______________________________ = _\n}}\n",
"paramOrder": [
"paramOrder": [
"image",
"Source",
"name",
"Parent",
"industry",
"Authors",
"products",
"PublishDate",
"race",
"Topics"
"headquarters",
"areaserved",
"keypeople",
"founder",
"founded",
"fate",
"defunct",
"formerly",
"predecessor",
"successor",
"parent",
"subsidiaries",
"allies",
"rivals",
"galactapediaurl",
"portfoliourl",
"imagebg"
]
]
}
}
Line 186: Line 80:


<includeonly>
<includeonly>
<!-- Template catergories go here -->
<!-- Template categories go here -->
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</includeonly>
</includeonly>

Revision as of 04:53, 23 November 2023

{{Infobox article}} is an infobox template for use in articles.

Usage

{{Infobox article
|image = <!-- File name of the image -->
|imagebg = <!-- Set a light or dark background if the image is transparent -->
|name = <!-- Name of the company -->
|industry = <!-- Industry that the company is in -->
|products = <!-- Products that the company sells -->
|race = <!-- Race of the company. Default to Human -->
|headquarters = <!-- Headquarter(s) of the company, in [[city]], [[planet]], [[system]] format -->
|areaserved = <!-- Area where the company operates -->
|keypeople = <!-- Key people in the company, such as CEO, chairman, etc. -->
|founder = <!-- Founder of the company -->
|founded = <!-- Founding date and location. in {{Start date and age|sctime=yes|YYYY|MM|DD}} format -->
|fate = <!-- Fate of the company if defunct -->
|defunct = <!-- Defunct date, use {{Start date and age|sctime=yes|YYYY|MM|DD}} -->
|formerly = <!-- Formerly known as, if the company is renamed -->
|predecessor = <!-- Predecessor of the company -->
|successor = <!-- Successor of the company -->
|parent = <!-- Parent company/organization of the company -->
|subsidiaries = <!-- Subsidiaries of the company -->
|allies = <!-- Allies of the company -->
|rivals = <!-- Rivals of the company -->
|galactapediaurl = <!-- URL of the Galactapedia page -->
|portfoliourl = <!-- URL of the Portfolio page -->
}}

TemplateData

An infobox template for use in articles on the in-game company pages

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Source LinkSource

Asset source link

Example
https://www.mckinsey.com/capabilities/mckinsey-digital/our-insights/businesss-its-not-my-problem-it-problem
URLrequired
Asset SourceParent

Asset source

Example
[[Nova Kiev]], [[Terra (planet)|Terra]], [[Terra]]
Page namesuggested
Asset AuthorsAuthors

Authors for the original article

Example
[[Drake Roberts]] (CEO), [[Erin Chris]] (COO)
Unknownoptional
Asset Publish DatePublishDate

When was article originally published

Example
March 30, 2023
Dateoptional
TopicsTopics

Topics covered by the article

Example
[[Tech for business]], [[Product management]]
Unknownsuggested