Jump to content

Template:CompanyCargo: Difference between revisions

From Consumer Rights Wiki
Schang1146 (talk | contribs)
Undo revision 16151 by Schang1146 (talk)
Tag: Undo
Schang1146 (talk | contribs)
Make all fields optional
Line 4: Line 4:


; Fields available:
; Fields available:
: '''Description:''' (Mandatory) Description of a company in 150 characters or less
: '''Description:''' (Optional) Description of a company in 150 characters or less
: '''Founded:''' (Mandatory) Date when the company was founded
: '''Founded:''' (Optional) Date when the company was founded
: '''Industry:''' (Mandatory) Industries that this company is part of
: '''Industry:''' (Optional) Industries that this company is part of
: '''Logo:''' (Optional) Image file of the company's logo
: '''Logo:''' (Optional) Image file of the company's logo
: '''ParentCompany:''' (Optional) Parent company to the company
: '''ParentCompany:''' (Optional) Parent company to the company
: '''Type:''' (Mandatory) Refers to if a company is public, private, non-profit, part of the government, or other
: '''Type:''' (Optional) Refers to if a company is public, private, non-profit, part of the government, or other
: '''Website:''' (Optional) Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation
: '''Website:''' (Optional) Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation


Line 21: Line 21:
}}
}}
{{#cargo_declare:_table=Company
{{#cargo_declare:_table=Company
| Description  = String (mandatory)
| Description  = String
| Founded      = Date (mandatory)
| Founded      = Date
| Industry      = List (,) of String (mandatory)
| Industry      = List (,) of String
| Logo          = File
| Logo          = File
| ParentCompany = Page
| ParentCompany = Page
| Type          = List (,) of String (allowed values=Public,Private,Government,Non-Profit,Other;mandatory)
| Type          = List (,) of String (allowed values=Public,Private,Government,Non-Profit,Other)
| Website      = List (,) of URL
| Website      = List (,) of URL
}}
}}

Revision as of 23:36, 30 June 2025


Important: This is a work in progress


This is the "Company" template used with Cargo and the Wiki extension.

Fields available
Description: (Optional) Description of a company in 150 characters or less
Founded: (Optional) Date when the company was founded
Industry: (Optional) Industries that this company is part of
Logo: (Optional) Image file of the company's logo
ParentCompany: (Optional) Parent company to the company
Type: (Optional) Refers to if a company is public, private, non-profit, part of the government, or other
Website: (Optional) Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation

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.