Template:CompanyCargo: Difference between revisions
Appearance
Schang1146 (talk | contribs) Make all fields optional |
Schang1146 (talk | contribs) No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 26: | Line 26: | ||
| Logo = File | | Logo = File | ||
| ParentCompany = Page | | ParentCompany = Page | ||
| Type = | | Type = String (allowed values=Public,Private,Government,Non-Profit,Other) | ||
| Website = List (,) of URL | | Website = List (,) of URL | ||
}} | }} | ||
Line 32: | Line 32: | ||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=Company | {{#cargo_store:_table=Company | ||
| Founded = {{{Founded}}} | | Founded = {{{Founded|}}} | ||
| Industry = {{{Industry}}} | | Industry = {{{Industry|}}} | ||
| Logo = {{{Logo}}} | | Logo = {{{Logo|}}} | ||
| ParentCompany = {{{ParentCompany}}} | | ParentCompany = {{{ParentCompany|}}} | ||
| Type = {{{Type}}} | | Type = {{{Type|}}} | ||
| Website = {{{Website|}}} | | Website = {{{Website|}}} | ||
| Description = {{{Description}}} | | Description = {{{Description|}}} | ||
}} | }} | ||
<div class="infobox"> | |||
<div style="display: flex; gap: 8px; flex-direction: column"> | |||
<div class="infobox-title">{{{Company|{{PAGENAME}}}}}</div> | |||
<div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div> | |||
<table class="infobox-table"> | |||
<tr> | |||
<th colspan="2" class="infobox-table-caption">Basic information</th> | |||
</tr> | |||
<tr> | |||
<th>{{nowrap|Founded}}</th> | |||
<td>{{{Founded|}}}</td> | |||
</tr> | |||
<tr> | |||
<th>{{nowrap|Type}}</th> | |||
<td>{{{Type|}}}</td> | |||
</tr> | |||
<tr> | |||
<th>{{nowrap|Industry}}</th> | |||
<td>{{{Industry|}}}</td> | |||
</tr> | |||
<tr> | |||
<th>{{nowrap|Official website}}</th> | |||
<td>{{{Website|}}}</td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> | |||
</includeonly> | </includeonly> |
Latest revision as of 03:51, 2 July 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.