Template:Corporation: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
mNo edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
{{Infobox/Illustration|file={{#if:{{{logo|}}}|[[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:{{{year|}}}{{{ceo|}}}{{{subsidiaries|}}} |{{Infobox/Bar}}|}} |
{{#if:{{{year|}}}{{{ceo|}}}{{{subsidiaries|}}} |{{Infobox/Bar}}|}} |
||
| Line 12: | Line 12: | ||
{{Infobox/Item|key=Dissolved|value={{{dissolved_year|}}}}} |
{{Infobox/Item|key=Dissolved|value={{{dissolved_year|}}}}} |
||
{{Infobox/Item|key=CEO|value={{{ceo|}}}}} |
{{Infobox/Item|key=CEO|value={{{ceo|}}}}} |
||
{{Infobox/Item|key=Parent|value={{{parent|}}}}} |
|||
{{Infobox/Item|key=Subsidiaries|value={{{subsidiaries|}}}}} |
{{Infobox/Item|key=Subsidiaries|value={{{subsidiaries|}}}}} |
||
{{Infobox/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
<noinclude> |
<noinclude> |
||
== Usage == |
|||
| ⚫ | |||
{{Corporation |
{{Corporation |
||
|name = [company short name] |
|name = [company short name] |
||
| Line 31: | Line 31: | ||
|subsidiaries = [subcompanies] |
|subsidiaries = [subcompanies] |
||
}} |
}} |
||
<pre> |
|||
| ⚫ | |||
|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]] |
||
== TemplateData == |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
| Line 42: | Line 61: | ||
"type": "string", |
"type": "string", |
||
"required": true, |
"required": true, |
||
"default": "{{PAGENAME}}" |
"default": "{{PAGENAME}}", |
||
"description": "Usage name of the company" |
|||
}, |
}, |
||
"logo": { |
"logo": { |
||
| Line 71: | Line 91: | ||
"label": "Headquarters Location", |
"label": "Headquarters Location", |
||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true, |
||
"description": "Location of the company's headquarters" |
|||
}, |
}, |
||
"subsidiaries": { |
"subsidiaries": { |
||
| Line 85: | Line 106: | ||
"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": { |
"foundation_year": { |
||
Revision as of 20:43, 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 | no description | String | optional |
| Logo | logo | no description
| 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 | no description | Date | suggested |
| Company CEO | ceo | no description | String | suggested |
| Subsidiary Groups | subsidiaries | no description | String | suggested |
| Year of Dissolution | dissolved_year | no description | Date | suggested |
