Template:Infobox article: Difference between revisions

Template page
(Created page with "{{Documentation}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> {{t|Infobox company}} is an infobox template for use in articles on the in-game company pages. == Usage == <pre><nowiki> {{Infobox company |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 --> |...")
 
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation}}
<!--
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{t|Infobox company}} is an infobox template for use in articles on the in-game company pages.


== Usage ==
-------
<pre><nowiki>
Infobox
{{Infobox company
-------
|image = <!-- File name of the image -->
--><includeonly>{{Infobox
|imagebg = <!-- Set a light or dark background if the image is transparent -->
|bodyclass = mw-collapsible floatright
|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 -->
}}
</nowiki></pre>


== TemplateData ==
|header2 = [{{{source|}}} {{#getdisplaytitle: {{SUBJECTPAGENAME}} }}]
<templatedata>
|rowclass2 = infobox-title
{
"params": {
"image": {
"label": "Image",
"description": "File name of the image",
"example": "AnvilAerospace.svg",
"type": "wiki-file-name",
"suggested": true
},
"name": {
"label": "Name",
"description": "Name of the company",
"example": "Anvil Aerospace",
"type": "string",
"required": true
},
"industry": {
"label": "Industry",
"description": "Industry that the company is in (separate by comma if multiple)",
"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]]",
"suggested": true
},
"areaserved": {
"label": "Area served",
"description": "Area where the company operates",
"example": "[[United Empire of Earth]]",
"suggested": true
},
"keypeople": {
"label": "Key people",
"description": "Key people in the company, such as CEO, chairman, etc.",
"example": "[[Drake Roberts]] (CEO), [[Erin Chris]] (COO)"
},
"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": {
"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
},
"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"
}
},
"description": "An infobox template for use in articles on the in-game company pages",
"format": "{{_\n| _______________________________ = _\n}}\n",
"paramOrder": [
"image",
"name",
"industry",
"products",
"race",
"headquarters",
"areaserved",
"keypeople",
"founder",
"founded",
"fate",
"defunct",
"formerly",
"predecessor",
"successor",
"parent",
"subsidiaries",
"allies",
"rivals",
"galactapediaurl",
"portfoliourl",
"imagebg"
]
}
</templatedata>


<includeonly>
|label3 = Published By
<!-- Template catergories go here -->
|data3 = [[{{{publisher|}}}]]
[[Category:Infobox templates]]
|rowclass3 = data-parent infobox-data infobox-col2
</includeonly>
 
|label4 = Publish Date
|data4 = {{{publishdate|}}}
|rowclass4 = data-publishdate infobox-data infobox-col2
 
|label5 = Authors
|data5 = {{{authors|}}}
|rowclass5 = data-authors infobox-data infobox-col1
 
|label6 = Topics
|data6 = {{{topics|}}}
|rowclass6 = data-topics infobox-data infobox-col1
 
|header7 = Statistics
|rowclass7 = infobox-header
 
|label8 = Article Size
|data8 = {{{size|}}} words
|rowclass8 = data-container infobox-data infobox-col1
 
|label9 = Companies Mentioned
|data9 = {{{companies|}}}
|rowclass9 = data-container infobox-data infobox-col1
 
|label10 = Features
|data10 = {{{features|}}}
|rowclass10 = data-container infobox-data infobox-col1
 
|label11 = Diagrams
|data11 = {{{diagrams|}}}
|rowclass11 = data-container infobox-data infobox-col2
 
|label12 = Downloadable Version
|data12 = {{{downloadable|}}}
|rowclass12 = data-container infobox-data infobox-col2
 
|header13 = Reviewers
|rowclass13 = infobox-header
 
|label14 = Page Owner
|data14 = [[{{{owner|}}}]]
|rowclass14 = data-container infobox-data infobox-col2
 
|label15 = Summary Author
|data15 = [[{{{summaryauthor|}}}]]
|rowclass15 = data-container infobox-data infobox-col2
}}<!--
 
-----------------
Short description
-----------------
-->{{Short description|Article published by {{{publisher|}}} and reviewed by {{{summaryauthor|}}}}}
 
 
</includeonly><noinclude>
{{/doc}}
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>

Latest revision as of 23:58, 23 November 2023

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Infobox article/doc. Changes can be proposed in the talk page.

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

[Edit template data]

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