Template:CompanyCargo: Difference between revisions
Appearance
Schang1146 (talk | contribs) Remove more whitespace |
Schang1146 (talk | contribs) Formatting |
||
(3 intermediate revisions by the same user not shown) | |||
Line 67: | Line 67: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly><!-- | |||
-->{{#cargo_store:_table=Company | |||
| Founded = {{{Founded|}}} | | Founded = {{{Founded|}}} | ||
| Industry = {{{Industry|}}} | | Industry = {{{Industry|}}} | ||
Line 76: | Line 77: | ||
| Website = {{{Website|}}} | | Website = {{{Website|}}} | ||
| Description = {{{Description|}}} | | Description = {{{Description|}}} | ||
}}<div class="infobox"> | }}<!-- | ||
// company infobox element | |||
--><div class="infobox"> | |||
<div style="display: flex; gap: 8px; flex-direction: column"> | |||
<div class="infobox-title">{{PAGENAME}}</div> | <div class="infobox-title">{{PAGENAME}}</div> | ||
<div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div> | <div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div> | ||
Line 98: | Line 102: | ||
<tr> | <tr> | ||
<th>{{nowrap|Official website}}</th> | <th>{{nowrap|Official website}}</th> | ||
<td>{{{Website|}}}</td> | <td>{{#explode:{{{Website|}}}|,|0}}</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
</div> | </div> | ||
</div> | </div><!-- | ||
</includeonly> | |||
--></includeonly> |
Latest revision as of 00:34, 14 August 2025
This template defines the table "Company". View table.
The CompanyCargo template is responsible for creating a structured database for companies for the Wiki extension and rendering an infobox off the data.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Founded | Founded | Date when the company was founded
| Date | optional |
Industry | Industry | Industries that this company is part of
| String | optional |
Logo | Logo | Image file of the company's logo
| File | optional |
Parent Company | ParentCompany | Parent company to the company
| Page name | optional |
Legal structure | Type | Refers to if a company is public, private, non-profit, part of the government, or other
| String | optional |
Official Website | Website | Links to a company website - only include a website if it represents a separate top level domain (TLD) or regional variation
| URL | optional |
Description | Description | Description of a company in 150 characters or less | String | optional |