Jump to content

Template:CompanyCargo: Difference between revisions

From Consumer Rights Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
{{#cargo_declare:_table=Company
| Description  = String
| Founded      = Date
| Industry      = List (,) of String
| Logo          = File
| ParentCompany = Page
| Type          = String (allowed values=Public,Private,Government,Non-Profit,Other)
| Website      = List (,) of URL
}}
<templatedata>
<templatedata>
{
{

Revision as of 00:31, 12 July 2025

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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
FoundedFounded

Date when the company was founded

Example
2013 OR 2013-11 OR 2013-11-23 (YYYY-MM-DD where month and day are optional)
Dateoptional
IndustryIndustry

Industries that this company is part of

Example
Electronics,GPUs
Stringoptional
LogoLogo

Image file of the company's logo

Example
Apple.png
Fileoptional
Parent CompanyParentCompany

Parent company to the company

Example
John Deere
Page nameoptional
Legal structureType

Refers to if a company is public, private, non-profit, part of the government, or other

Suggested values
Public Private
Example
Public
Stringoptional
Official WebsiteWebsite

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
URLoptional
DescriptionDescription

Description of a company in 150 characters or less

Stringoptional