Template:Corporation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Descriptions) |
||
(9 intermediate revisions by 2 users not shown) | |||
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}} |
+ | {{#if:{{{headquarters|}}}{{{area|}}}|{{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|}}}}} |
+ | {{#if:{{{foundation_year|}}}{{{dissolved_year|}}}{{{ceo|}}}{{{parent|}}}{{{subsidiaries|}}}|{{Infobox/Bar}}|}} |
||
− | {{Infobox/Bar}} |
||
− | {{Infobox/Item|key=Founded|value={{{ |
+ | {{Infobox/Item|key=Founded|value={{{foundation_year|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=Dissolved|value={{{dissolved_year|}}}}} |
− | {{Infobox/Item|key= |
+ | {{Infobox/Item|key=CEO|value={{{ceo|}}}}} |
+ | {{Infobox/Item|key=Parent|value={{{parent|}}}}} |
||
+ | {{Infobox/Item|key=Subsidiaries|value={{{subsidiaries|}}}}} |
||
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
− | <noinclude> |
+ | <noinclude> |
+ | == Usage == |
||
− | |name = {{PAGENAME}} |
||
+ | {{Corporation |
||
+ | |name = [company short name] |
||
|full_name = [full company name] |
|full_name = [full company name] |
||
|logo = KP_dark.png|logodesc = [logodesc] |
|logo = KP_dark.png|logodesc = [logodesc] |
||
Line 21: | Line 25: | ||
|headquarters = [nation/address] |
|headquarters = [nation/address] |
||
|area = [operating_locations] |
|area = [operating_locations] |
||
+ | |foundation_year = [foundation_year] |
||
+ | |dissolved_year = [dissolved_year] |
||
|year = [foundation_year] |
|year = [foundation_year] |
||
|ceo = [ceo] |
|ceo = [ceo] |
||
|subsidiaries = [subcompanies] |
|subsidiaries = [subcompanies] |
||
}} |
}} |
||
+ | <pre> |
||
+ | {{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] |
||
+ | }} |
||
+ | </pre> |
||
+ | |||
+ | == Sub-template components == |
||
+ | * [[Template:Corporation/Airline|<code><nowiki>{{Corporation/Airline|...}}</nowiki></code>]] : Section for airlines and other air-services companies. |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
[[Category:Templates]] |
[[Category:Templates]] |
||
+ | {{clr}} |
||
+ | == TemplateData == |
||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 36: | Line 62: | ||
"type": "string", |
"type": "string", |
||
"required": true, |
"required": true, |
||
− | "default": "{{PAGENAME}}" |
+ | "default": "{{PAGENAME}}", |
+ | "description": "Usage name of the company", |
||
+ | "example": "Automated Deterrence" |
||
}, |
}, |
||
"logo": { |
"logo": { |
||
Line 42: | Line 70: | ||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
"required": true, |
"required": true, |
||
− | "default": "KP_dark.png" |
+ | "default": "KP_dark.png", |
+ | "example": "KP dark.png", |
||
+ | "description": "Logo of the company" |
||
}, |
}, |
||
"logodesc": { |
"logodesc": { |
||
Line 59: | 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": { |
||
"label": "Headquarters Location", |
"label": "Headquarters Location", |
||
"type": "string", |
"type": "string", |
||
− | "required": true |
+ | "required": true, |
+ | "description": "Location of the company's headquarters" |
||
}, |
}, |
||
"subsidiaries": { |
"subsidiaries": { |
||
"label": "Subsidiary Groups", |
"label": "Subsidiary Groups", |
||
"type": "string", |
"type": "string", |
||
+ | "description": "Subsidiary companies" |
||
⚫ | |||
}, |
}, |
||
"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." |
||
⚫ | |||
⚫ | |||
⚫ | |||
− | "suggested": true |
||
}, |
}, |
||
"area": { |
"area": { |
||
"label": "Regions of Operation", |
"label": "Regions of Operation", |
||
"type": "string", |
"type": "string", |
||
− | "suggested": true |
+ | "suggested": true, |
+ | "description": "Area typically served by the company", |
||
+ | "example": "Kolus, Feguanesia, Worldwide" |
||
⚫ | |||
+ | "foundation_year": { |
||
⚫ | |||
⚫ | |||
⚫ | |||
+ | "description": "Year the company was founded" |
||
+ | }, |
||
+ | "dissolved_year": { |
||
+ | "label": "Year of Dissolution", |
||
+ | "type": "date", |
||
+ | "description": "Year the company was dissolved, if any" |
||
+ | }, |
||
⚫ | |||
+ | "label": "Parent company", |
||
+ | "description": "Parent or holding company", |
||
+ | "type": "wiki-page-name" |
||
} |
} |
||
}, |
}, |
||
Line 96: | Line 143: | ||
"headquarters", |
"headquarters", |
||
"area", |
"area", |
||
− | " |
+ | "foundation_year", |
+ | "dissolved_year", |
||
"ceo", |
"ceo", |
||
+ | "parent", |
||
"subsidiaries" |
"subsidiaries" |
||
] |
] |
Latest revision as of 23:00, 9 February 2025
Usage
{{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
{{Corporation/Airline|...}}
: Section for airlines and other air-services companies.
TemplateData
Infobox for Corporations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Company Name | name | Usage name of the company
| String | required |
Full Company Name | full_name | Full name
| String | optional |
Logo | logo | Logo of the company
| File | required |
Logo description | logodesc | A short description of the logos features | String | suggested |
Industry | industry | Industry the company specialises in | String | required |
Headquarters Location | headquarters | Location of the company's headquarters | String | required |
Regions of Operation | area | Area typically served by the company
| String | suggested |
Year of Foundation | foundation_year | Year the company was founded | Date | suggested |
Year of Dissolution | dissolved_year | Year the company was dissolved, if any | Date | optional |
Company CEO | ceo | Current CEO or leader of the company, may consist of several individuals. | String | suggested |
Parent company | parent | Parent or holding company | Page name | optional |
Subsidiary Groups | subsidiaries | Subsidiary companies | String | optional |