Template:CompanyInfobox: Difference between revisions
Appearance
Schang1146 (talk | contribs) Update fields and template |
Schang1146 (talk | contribs) Fix templatedata |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<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> | ||
<div class="infobox-image"> | <div class="infobox-image">[[File:{{{Logo|QuestionMark.svg}}}|200px]]</div> | ||
<table class="infobox-table"> | <table class="infobox-table"> | ||
<tr> | <tr> | ||
<th colspan="2" class="infobox-table-caption"> | <th colspan="2" class="infobox-table-caption">Basic information</th> | ||
</tr> | </tr> | ||
Line 62: | Line 58: | ||
"type": "date", | "type": "date", | ||
"description": "What year-month-day was the company founded (month and day are NOT required)", | "description": "What year-month-day was the company founded (month and day are NOT required)", | ||
"required": | "required": false, | ||
"example": "2000-01-01" | "example": "2000-01-01" | ||
}, | }, | ||
Line 68: | Line 64: | ||
"type": "string", | "type": "string", | ||
"description": "What economic sector a company belongs to based on its main activity", | "description": "What economic sector a company belongs to based on its main activity", | ||
"required": | "required": false, | ||
"example": "Electronics,Servers,Streaming Services" | "example": "Electronics,Servers,Streaming Services" | ||
}, | }, | ||
Line 81: | Line 77: | ||
"type": "string", | "type": "string", | ||
"description": "Type of company ownership", | "description": "Type of company ownership", | ||
"required": | "required": false, | ||
"example": "Public | "example": "Public" | ||
}, | }, | ||
"Website": { | "Website": { |
Latest revision as of 17:28, 5 July 2025
Usage[edit source]
To have this infobox appear to the right of the page, add this to the page with the text you wish to appear on the box when using the source editor.
CompanyInfobox
Basic information | |
---|---|
Founded | 2000 |
Legal Structure | Public |
Industry | Industrial |
Official website | https://example.com/ |
This is the "CompanyInfobox" template.
It should be called in the following format:
{{CompanyInfobox |Founded= |Industry= |Logo= |Type= |Website= }}
Edit the page to see the template text.
Template Data[edit source]
This is a a simple information box to use in product line articles. Parameters are the information displayed on the infobox.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Founded | Founded | What year-month-day was the company founded (month and day are NOT required)
| Date | optional |
Industry | Industry | What economic sector a company belongs to based on its main activity
| String | optional |
Logo | Logo | The logo associated with the company
| File | optional |
Type | Type | Type of company ownership
| String | optional |
Website | Website | Website of the company
| URL | optional |