Template:Corporation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<includeonly>{{Infobox/begin}} |
<includeonly>{{Infobox/begin}} |
||
− | {{Infobox/Header|title={{{name}}}|subtitle={{{ |
+ | {{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}|subtitle={{#if:{{{full_name|}}}|{{{full_name|}}}|}}}} |
− | {{Infobox/Illustration|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|}}}}} |
+ | {{#if:{{{year|}}}{{{ceo|}}}{{{subsidiaries|}}} |{{Infobox/Bar}}|}} |
||
− | {{Infobox/SectionHeader|section=Operation}} |
||
− | {{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/end}}</includeonly> |
{{Infobox/end}}</includeonly> |
||
<noinclude> |
<noinclude> |
||
− | {{ |
+ | {{Corporation}} |
+ | |||
− | {{Infobox/Header|title={{{name}}}|subtitle={{{localized_name}}}}} |
||
+ | {{Corporation |
||
− | {{Infobox/Illustration|file=[[File:KP dark.png]]|caption={{{logodesc}}}}} |
||
+ | |name = [company short name] |
||
− | {{Infobox/Item|key=Industry|value={{{industry}}}}} |
||
+ | |full_name = [full company name] |
||
− | {{Infobox/SectionHeader|section=Location}} |
||
+ | |logo = KP_dark.png|logodesc = [logodesc] |
||
− | {{Infobox/Item|key=Headquaters|value={{{headquarters}}}}} |
||
+ | |industry = [industry] |
||
− | {{Infobox/Item|key=Area Served|value={{{area}}}}} |
||
+ | |headquarters = [nation/address] |
||
− | {{Infobox/SectionHeader|section=Operation}} |
||
+ | |area = [operating_locations] |
||
− | {{Infobox/Item|key=Founded|value={{{year}}}}} |
||
+ | |foundation_year = [foundation_year] |
||
− | {{Infobox/Item|key=CEO|value={{{ceo}}}}} |
||
+ | |dissolved_year = [dissolved_year] |
||
⚫ | |||
+ | |year = [foundation_year] |
||
− | {{Infobox/end}} |
||
+ | |ceo = [ceo] |
||
+ | |subsidiaries = [subcompanies] |
||
+ | }} |
||
[[Category:Infoboxes]] |
[[Category:Infoboxes]] |
||
Line 37: | Line 41: | ||
"label": "Company Name", |
"label": "Company Name", |
||
"type": "string", |
"type": "string", |
||
− | "required": true |
+ | "required": true, |
+ | "default": "{{PAGENAME}}" |
||
⚫ | |||
− | "localized_name": { |
||
⚫ | |||
⚫ | |||
}, |
}, |
||
"logo": { |
"logo": { |
||
"label": "Logo", |
"label": "Logo", |
||
"type": "wiki-file-name", |
"type": "wiki-file-name", |
||
− | "required": true |
+ | "required": true, |
+ | "default": "KP_dark.png", |
||
+ | "example": "KP dark.png" |
||
}, |
}, |
||
"logodesc": { |
"logodesc": { |
||
Line 59: | Line 62: | ||
"type": "string", |
"type": "string", |
||
"required": true |
"required": true |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
}, |
||
"ceo": { |
"ceo": { |
||
"label": "Company CEO", |
"label": "Company CEO", |
||
− | "type": "string" |
+ | "type": "string", |
+ | "suggested": true |
||
}, |
}, |
||
"headquarters": { |
"headquarters": { |
||
Line 73: | Line 73: | ||
"required": true |
"required": true |
||
}, |
}, |
||
− | " |
+ | "subsidiaries": { |
+ | "label": "Subsidiary Groups", |
||
⚫ | |||
+ | "suggested": true |
||
⚫ | |||
+ | "full_name": { |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"label": "Regions of Operation", |
"label": "Regions of Operation", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
− | " |
+ | "foundation_year": { |
− | "label": " |
+ | "label": "Year of Foundation", |
− | "type": " |
+ | "type": "date", |
+ | "suggested": true |
||
+ | }, |
||
+ | "dissolved_year": { |
||
⚫ | |||
+ | "type": "date", |
||
+ | "suggested": true |
||
} |
} |
||
}, |
}, |
||
− | "description": "Infobox for Corporations", |
+ | "description": "Infobox for Corporations", |
"format": "block", |
"format": "block", |
||
"paramOrder": [ |
"paramOrder": [ |
||
"name", |
"name", |
||
− | " |
+ | "full_name", |
"logo", |
"logo", |
||
"logodesc", |
"logodesc", |
||
"industry", |
"industry", |
||
"headquarters", |
"headquarters", |
||
− | " |
+ | "area", |
− | " |
+ | "foundation_year", |
"ceo", |
"ceo", |
||
− | "subsidiaries" |
+ | "subsidiaries", |
+ | "dissolved_year" |
||
] |
] |
||
} |
} |
Latest revision as of 14:28, 28 October 2022
Corporation
|
|||||
---|---|---|---|---|---|
Location | |||||
Headquaters | {{{headquarters}}} |
Infobox for Corporations
Parameter | Description | Type | Status | |
---|---|---|---|---|
Company Name | name | no description
| 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 | no description | String | required |
Regions of Operation | area | no description | 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 |