Template:CompanyCargo: Difference between revisions
added "short description" for browser extension Tag: 2017 source edit |
Schang1146 (talk | contribs) Undo revision 16151 by Schang1146 (talk) Tag: Undo |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Important| | {{Important|This is a work in progress}} | ||
This is the "Company" template used with | This is the "Company" template used with Cargo and the Wiki extension. | ||
''' | ; Fields available: | ||
: '''Description:''' (Mandatory) Description of a company in 150 characters or less | |||
: '''Founded:''' (Mandatory) Date when the company was founded | |||
: '''Industry:''' (Mandatory) Industries that this company is part of | |||
: '''Logo:''' (Optional) Image file of the company's logo | |||
: '''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 | |||
: '''Website:''' (Optional) Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation | |||
{{#cargo_declare:_table= | {{#template_params:Description (label=Description) | ||
| | |Founded (label=Founded) | ||
| | |Industry (label=Industry) | ||
|Logo (label=Logo) | |||
|ParentCompany (label=Parent Company) | |||
|Type (label=Type) | |||
|Website (label=Website) | |||
}} | |||
{{#cargo_declare:_table=Company | |||
| Description = String (mandatory) | |||
| Founded = Date (mandatory) | |||
| Industry = List (,) of String (mandatory) | |||
| Logo = File | |||
| ParentCompany = Page | |||
| Type = List (,) of String (allowed values=Public,Private,Government,Non-Profit,Other;mandatory) | |||
| Website = List (,) of URL | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table= | {{#cargo_store:_table=Company | ||
| | | Founded = {{{Founded}}} | ||
| Industry = {{{Industry}}} | |||
| Logo = {{{Logo}}} | |||
| ParentCompany = {{{ParentCompany}}} | |||
| Type = {{{Type}}} | |||
| Website = {{{Website|}}} | |||
| Description = {{{Description}}} | |||
}} | }} | ||
</includeonly> | </includeonly> |