Template:Corporation: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
   
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
{{Infobox/Header|title={{{name}}}|subtitle={{{full_name}}}}}
+
{{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{full_name|}}}|{{{full_name|}}}|}}}}
{{Infobox/Illustration|file=[[File:{{{logo}}}]]|caption={{{logodesc}}}}}
+
{{Infobox/Illustration|file={{#if:{{{logo|}}}|[[File:{{{logo}}}]]|}}|caption={{logodesc|}}}}
 
{{Infobox/Item|key=Industry|value={{{industry}}}}}
 
{{Infobox/Item|key=Industry|value={{{industry}}}}}
 
{{Infobox/SectionHeader|section=Location}}
 
{{Infobox/SectionHeader|section=Location}}
 
{{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|}}}}}
 
{{Infobox/Bar}}
 
{{Infobox/Bar}}
{{Infobox/Item|key=Founded|value={{{year}}}}}
+
{{Infobox/Item|key=Founded|value={{{year|}}}}}
{{Infobox/Item|key=CEO|value={{{ceo}}}}}
+
{{Infobox/Item|key=CEO|value={{{ceo|}}}}}
{{Infobox/Item|key=Subsidiaries|value={{{subsidiaries}}}}}
+
{{Infobox/Item|key=Subsidiaries|value={{{subsidiaries|}}}}}
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
<noinclude>{{Corporation
+
<noinclude>
  +
{{Corporation}}
  +
  +
{{Corporation
 
|name = {{PAGENAME}}
 
|name = {{PAGENAME}}
 
|full_name = [full company name]
 
|full_name = [full company name]

Revision as of 22:24, 26 October 2022



Corporation

Industry {{{industry}}}
Location
Headquaters {{{headquarters}}}


Corporation
[full company name]
KP dark.png
Template:Logodesc
Industry [industry]
Location
Headquaters [nation/address]
Area Served [operating_locations]

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

Infobox for Corporations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Company Namename

no description

Default
{{PAGENAME}}
Stringrequired
Full Company Namefull_name

no description

Stringoptional
Logologo

no description

Default
KP_dark.png
Filerequired
Logo descriptionlogodesc

A short description of the logos features

Stringsuggested
Industryindustry

Industry the company specialises in

Stringrequired
Headquarters Locationheadquarters

no description

Stringrequired
Regions of Operationarea

no description

Stringsuggested
Year Foundedyear

no description

Datesuggested
Company CEOceo

no description

Stringsuggested
Subsidiary Groupssubsidiaries

no description

Stringsuggested