Template:CompanyCargo: Difference between revisions
Schang1146 (talk | contribs) No edit summary |
Schang1146 (talk | contribs) Remove more whitespace |
||
(6 intermediate revisions by the same user not shown) | |||
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 | |||
| Website = List (,) of URL | |||
}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 37: | Line 46: | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"Public", | "Public", | ||
"Private" | "Private", | ||
"Government", | |||
"Non-Profit" | |||
] | ] | ||
}, | }, | ||
Line 43: | 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 57: | Line 68: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly>{{#cargo_store:_table=Company | ||
{{#cargo_store:_table=Company | |||
| Founded = {{{Founded|}}} | | Founded = {{{Founded|}}} | ||
| Industry = {{{Industry|}}} | | Industry = {{{Industry|}}} | ||
Line 66: | 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> |