Template:Infobox article/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
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 ==
<pre><nowiki>
<pre><nowiki>
{{Infobox article
{{Infobox article
|image = <!-- File name of the image -->
|source = <!-- Asset source link -->
|imagebg = <!-- Set a light or dark background if the image is transparent -->
|parent = <!-- Asset source -->
|name = <!-- Name of the company -->
|publishdate = <!-- Asset Publish Date -->
|industry = <!-- Industry that the company is in -->
|authors = <!-- Authors for the original article -->
|products = <!-- Products that the company sells -->
|topics = <!-- Topics covered by the article -->
|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 -->
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 35: Line 18:
{
{
"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": {
"authors": {
"label": "Industry",
"label": "Asset Authors",
"description": "Industry that the company is in (separate by comma if multiple)",
"description": "Authors for the original article",
"example": "Spacecraft manufacture, spacecraft components",
"example": "[[Drake Roberts]] (CEO), [[Erin Chris]] (COO)"
"type": "string",
"suggested": true
},
},
"products": {
"publishdate": {
"label": "Products",
"label": "Asset Publish Date",
"description": "Products that the company sells",
"description": "When was article originally published",
"example": " Passenger spacecraft, cargo spacecraft, spacecraft components",
"example": "March 30, 2023",
"suggested": true
"type": "date"
},
},
"race": {
"topics": {
"label": "Race",
"label": "Topics",
"description": "Race of the company. Default to Human",
"description": "Topics covered by the article",
"type": "string"
"example": "[[Tech for business]], [[Product management]]",
},
"headquarters": {
"label": "Headquarters",
"description": "Headquarter(s) of the company",
"example": "[[Nova Kiev]], [[Terra (planet)|Terra]], [[Terra]]",
"suggested": true
"suggested": true
},
},
"areaserved": {
"publisher": {
"label": "Area served",
"label": "Published By",
"description": "Area where the company operates",
"description": "Entity that published the article",
"example": "[[United Empire of Earth]]",
"example": "[[McKinsey]]",
"type": "wiki-page-name",
"suggested": true
"suggested": true
},
},
"keypeople": {
"size": {
"label": "Key people",
"label": "Article Size",
"description": "Key people in the company, such as CEO, chairman, etc.",
"description": "Article size in words",
"example": "[[Drake Roberts]] (CEO), [[Erin Chris]] (COO)"
"example": "Nearly 3000 words",
},
"type": "number"
"founder": {
"label": "Founder",
"description": "Founder(s) of the company",
"example": "[[J.Harris Arnold]]"
},
"founded": {
"label": "Founded",
"description": "Founding date and location",
"example": "{{Start date and age|2772|sctime=yes}} in [[Nova Kiev]], [[Terra (planet)|Terra]], [[Terra]]"
},
},
"fate": {
"companies": {
"label": "Fate",
"label": "Companies mentioned",
"description": "Fate of the company if defunct",
"description": "List companies that are mentioned in the article",
"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"
"type": "string"
},
},
"predecessor": {
"features": {
"label": "Predecessor",
"type": "content",
"description": "Predecessor of the company",
"label": "Features",
"example": "[[Roberts Space Industries]]"
"description": "Describe features available in the document",
},
"example": "Diagrams, Diagnostics"
"successor": {
"label": "Successor",
"description": "Successor of the company",
"example": "[[Aegis Dynamics]]"
},
"parent": {
"label": "Parent",
"description": "Parent company/organization of the company",
"example": "[[microTech]]"
},
},
"subsidiaries": {
"diagrams": {
"label": "Subsidiaries",
"label": "Diagrams",
"description": "Subsidiaries of the company",
"description": "Are diagrams available in the article",
"example": "[[Crusader Industries]]"
"example": "Yes",
"type": "boolean",
"default": "No"
},
},
"galactapediaurl": {
"owner": {
"label": "Galactapedia URL",
"label": "Page Owner",
"description": "URL of the Galactapedia page",
"description": "Describe person who is responsible for managing this page",
"example": "https://robertsspaceindustries.com/galactapedia/article/0qnN6Od6YD-anvil-aerospace",
"type": "wiki-user-name"
"type": "url",
"suggested": true
},
},
"portfoliourl": {
"summaryauthor": {
"label": "Portfolio URL",
"label": "Summary Author",
"description": "URL of the Portfolio page",
"description": "Who is the person that create summary for the article",
"example": "https://robertsspaceindustries.com/comm-link/spectrum-dispatch/12970-Anvil-Aerospace",
"type": "wiki-user-name"
"type": "url"
},
},
"allies": {
"downloadable": {
"label": "Allies"
"label": "Downloadable",
},
"description": "Is there downloadable version of the article?",
"rivals": {
"example": "Yes",
"label": "Rivals"
"type": "boolean",
},
"default": "No"
"imagebg": {
"label": "Image background",
"description": "Set background if the image is transparent (light/dark)",
"example": "light",
"type": "string"
}
}
},
},
"description": "An infobox template for use in articles on the in-game company pages",
"description": "An infobox template for use in articles on the in-game company pages",
"format": "{{_\n| _______________________________ = _\n}}\n",
"format": "block",
"paramOrder": [
"paramOrder": [
"image",
"source",
"name",
"publisher",
"industry",
"authors",
"products",
"publishdate",
"race",
"topics",
"headquarters",
"size",
"areaserved",
"companies",
"keypeople",
"features",
"founder",
"diagrams",
"founded",
"downloadable",
"fate",
"owner",
"defunct",
"summaryauthor"
"formerly",
"predecessor",
"successor",
"parent",
"subsidiaries",
"allies",
"rivals",
"galactapediaurl",
"portfoliourl",
"imagebg"
]
]
}
}
Line 186: Line 111:


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

Latest revision as of 07:26, 23 November 2023

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

Usage

{{Infobox article
|source = <!-- Asset source link -->
|parent = <!-- Asset source -->
|publishdate = <!-- Asset Publish Date -->
|authors = <!-- Authors for the original article -->
|topics = <!-- Topics covered by the article -->
}}

TemplateData

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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Source Linksource

Asset source link

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

Entity that published the article

Example
[[McKinsey]]
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
Article Sizesize

Article size in words

Example
Nearly 3000 words
Numberoptional
Companies mentionedcompanies

List companies that are mentioned in the article

Stringoptional
Featuresfeatures

Describe features available in the document

Example
Diagrams, Diagnostics
Contentoptional
Diagramsdiagrams

Are diagrams available in the article

Default
No
Example
Yes
Booleanoptional
Downloadabledownloadable

Is there downloadable version of the article?

Default
No
Example
Yes
Booleanoptional
Page Ownerowner

Describe person who is responsible for managing this page

Useroptional
Summary Authorsummaryauthor

Who is the person that create summary for the article

Useroptional