Template:Corporation: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
(Descriptions)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
{{Infobox/Item|key=Headquaters|value={{{headquarters|}}}}}
 
{{Infobox/Item|key=Headquaters|value={{{headquarters|}}}}}
 
{{Infobox/Item|key=Area Served|value={{{area|}}}}}
 
{{Infobox/Item|key=Area Served|value={{{area|}}}}}
{{#if:{{{year|}}}{{{ceo|}}}{{{subsidiaries|}}} |{{Infobox/Bar}}|}}
+
{{#if:{{{foundation_year|}}}{{{dissolved_year|}}}{{{ceo|}}}{{{parent|}}}{{{subsidiaries|}}}|{{Infobox/Bar}}|}}
 
{{Infobox/Item|key=Founded|value={{{foundation_year|}}}}}
 
{{Infobox/Item|key=Founded|value={{{foundation_year|}}}}}
 
{{Infobox/Item|key=Dissolved|value={{{dissolved_year|}}}}}
 
{{Infobox/Item|key=Dissolved|value={{{dissolved_year|}}}}}
Line 53: Line 53:
 
[[Category:Templates]]
 
[[Category:Templates]]
   
  +
{{clr}}
 
== TemplateData ==
 
== TemplateData ==
 
<templatedata>
 
<templatedata>
Line 62: Line 63:
 
"required": true,
 
"required": true,
 
"default": "{{PAGENAME}}",
 
"default": "{{PAGENAME}}",
"description": "Usage name of the company"
+
"description": "Usage name of the company",
  +
"example": "Automated Deterrence"
 
},
 
},
 
"logo": {
 
"logo": {
Line 69: Line 71:
 
"required": true,
 
"required": true,
 
"default": "KP_dark.png",
 
"default": "KP_dark.png",
"example": "KP dark.png"
+
"example": "KP dark.png",
  +
"description": "Logo of the company"
 
},
 
},
 
"logodesc": {
 
"logodesc": {
Line 86: Line 89:
 
"label": "Company CEO",
 
"label": "Company CEO",
 
"type": "string",
 
"type": "string",
"suggested": true
+
"suggested": true,
  +
"description": "Current CEO or leader of the company, may consist of several individuals."
 
},
 
},
 
"headquarters": {
 
"headquarters": {
Line 97: Line 101:
 
"label": "Subsidiary Groups",
 
"label": "Subsidiary Groups",
 
"type": "string",
 
"type": "string",
  +
"description": "Subsidiary companies"
"suggested": true
 
 
},
 
},
 
"full_name": {
 
"full_name": {
 
"label": "Full Company Name",
 
"label": "Full Company Name",
"type": "string"
+
"type": "string",
  +
"description": "Full name",
  +
"example": "Automated Deterrence Defense Solutions Inc."
 
},
 
},
 
"area": {
 
"area": {
Line 113: Line 119:
 
"label": "Year of Foundation",
 
"label": "Year of Foundation",
 
"type": "date",
 
"type": "date",
"suggested": true
+
"suggested": true,
  +
"description": "Year the company was founded"
 
},
 
},
 
"dissolved_year": {
 
"dissolved_year": {
 
"label": "Year of Dissolution",
 
"label": "Year of Dissolution",
 
"type": "date",
 
"type": "date",
  +
"description": "Year the company was dissolved, if any"
"suggested": true
 
  +
},
  +
"parent": {
  +
"label": "Parent company",
  +
"description": "Parent or holding company",
  +
"type": "wiki-page-name"
 
}
 
}
 
},
 
},
Line 132: Line 144:
 
"area",
 
"area",
 
"foundation_year",
 
"foundation_year",
  +
"dissolved_year",
 
"ceo",
 
"ceo",
"subsidiaries",
+
"parent",
"dissolved_year"
+
"subsidiaries"
 
]
 
]
 
}
 
}

Latest revision as of 23:00, 9 February 2025



Usage

[company short name]
[full company name]
KP dark.png
[logodesc]
Industry [industry]
Location
Headquaters [nation/address]
Area Served [operating_locations]

Founded [foundation_year]
Dissolved [dissolved_year]
CEO [ceo]
Subsidiaries [subcompanies]


{{Corporation
|name = [company short name]
|full_name =  [full company name]
|logo = KP_dark.png|logodesc =  [logodesc]
|industry = [industry]
|headquarters = [nation/address]
|area =  [operating_locations]
|foundation_year = [foundation_year]
|dissolved_year = [dissolved_year]
|year = [foundation_year]
|ceo =  [ceo]
|subsidiaries = [subcompanies]
}}

Sub-template components

TemplateData

Infobox for Corporations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Company Namename

Usage name of the company

Default
{{PAGENAME}}
Example
Automated Deterrence
Stringrequired
Full Company Namefull_name

Full name

Example
Automated Deterrence Defense Solutions Inc.
Stringoptional
Logologo

Logo of the company

Default
KP_dark.png
Example
KP dark.png
Filerequired
Logo descriptionlogodesc

A short description of the logos features

Stringsuggested
Industryindustry

Industry the company specialises in

Stringrequired
Headquarters Locationheadquarters

Location of the company's headquarters

Stringrequired
Regions of Operationarea

Area typically served by the company

Example
Kolus, Feguanesia, Worldwide
Stringsuggested
Year of Foundationfoundation_year

Year the company was founded

Datesuggested
Year of Dissolutiondissolved_year

Year the company was dissolved, if any

Dateoptional
Company CEOceo

Current CEO or leader of the company, may consist of several individuals.

Stringsuggested
Parent companyparent

Parent or holding company

Page nameoptional
Subsidiary Groupssubsidiaries

Subsidiary companies

Stringoptional