Template:CompanyCargo: Difference between revisions
Schang1146 (talk | contribs) No edit summary |
Schang1146 (talk | contribs) Automatically add category if Website is missing |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 42: | Line 42: | ||
"Type": { | "Type": { | ||
"label": "Legal structure", | "label": "Legal structure", | ||
"description": "Refers to if a company is public, private, non-profit, part of the government, or other", | "description": "Refers to if a company is public, private, non-profit, part of the government, a subsidiary, or other", | ||
"example": "Public", | "example": "Public", | ||
"type": "string", | "type": "string", | ||
| Line 50: | Line 50: | ||
"Government", | "Government", | ||
"Non-Profit", | "Non-Profit", | ||
"Other", | |||
"Subsidiary" | "Subsidiary" | ||
] | ] | ||
| Line 56: | Line 57: | ||
"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. | "example": "https://www.deere.com/,https://www.deere.ca/", | ||
"type": "url" | "type": "url" | ||
}, | }, | ||
| Line 86: | Line 87: | ||
| Description = {{{Description|}}} | | Description = {{{Description|}}} | ||
}}<!-- | }}<!-- | ||
// conditional categories if fields are missing | |||
-->{{#if:{{{Website|}}}||[[Category:Articles with Company Cargo missing an entry in the Website field]]}}<!-- | |||
// company infobox element | // company infobox element | ||
--><div class="infobox"> | --><div class="infobox"> | ||