Template:CompanyCargo: Difference between revisions
Schang1146 (talk | contribs) No edit summary |
Schang1146 (talk | contribs) Remove more whitespace |
||
(4 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
| Logo = File | | Logo = File | ||
| ParentCompany = Page | | ParentCompany = Page | ||
| Type = String | | Type = String | ||
| Website = List (,) of URL | | Website = List (,) of URL | ||
}} | }} | ||
Line 48: | Line 48: | ||
"Private", | "Private", | ||
"Government", | "Government", | ||
"Non-Profit | "Non-Profit" | ||
] | ] | ||
}, | }, | ||
Line 55: | Line 54: | ||
"label": "Official Website", | "label": "Official Website", | ||
"description": "Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation", | "description": "Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation", | ||
"example": "https://www.apple.com", | "example": "https://www.apple.com/", | ||
"type": "url" | "type": "url" | ||
}, | }, | ||
Line 69: | Line 68: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>{{#cargo_store:_table=Company | ||
{{#cargo_store:_table=Company | |||
| Founded = {{{Founded|}}} | | Founded = {{{Founded|}}} | ||
| Industry = {{{Industry|}}} | | Industry = {{{Industry|}}} | ||
Line 78: | Line 76: | ||
| Website = {{{Website|}}} | | Website = {{{Website|}}} | ||
| Description = {{{Description|}}} | | Description = {{{Description|}}} | ||
}} | }}<div class="infobox"> | ||
<div class="infobox"> | |||
<div style="display: flex; gap: 8px; flex-direction: column"> | <div style="display: flex; gap: 8px; flex-direction: column"> | ||
<div class="infobox-title">{{PAGENAME}}</div> | <div class="infobox-title">{{PAGENAME}}</div> |
Latest revision as of 21:40, 18 July 2025
Important: This is a work in progress
This is the "CompanyCargo" template.
It should be called in the following format:{{CompanyCargo |Description= |Founded= |Industry= |Logo= |ParentCompany= |Type= |Website= }}
Edit the page to see the template text.
This template defines the table "Company". View table.
The CompanyCargo template is responsible for creating a structured database for companies for the Wiki extension and rendering an infobox off the data.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Founded | Founded | Date when the company was founded
| Date | optional |
Industry | Industry | Industries that this company is part of
| String | optional |
Logo | Logo | Image file of the company's logo
| File | optional |
Parent Company | ParentCompany | Parent company to the company
| Page name | optional |
Legal structure | Type | Refers to if a company is public, private, non-profit, part of the government, or other
| String | optional |
Official Website | Website | Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation
| URL | optional |
Description | Description | Description of a company in 150 characters or less | String | optional |