Template:InfoboxCompany: Difference between revisions
Appearance
m Reverted edit by ! (talk) to last revision by Jparks2112 Tag: Rollback |
Fixed an issue where using this in visualeditor, you get the description showing as the example. I made the description an actual description. |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 15: | Line 15: | ||
<tr> | <tr> | ||
<th>{{nowrap| | <th>{{nowrap|Legal structure}}</th> | ||
<td>{{{Type}}}</td> | <td>{{{Type}}}</td> | ||
</tr> | </tr> | ||
| Line 40: | Line 40: | ||
| Founded = 2000 | | Founded = 2000 | ||
| Industry = Industrial | | Industry = Industrial | ||
| Official Website = | | Official Website = https://example.com/ | ||
| Logo = QuestionMark.svg | | Logo = QuestionMark.svg | ||
}} | }} | ||
| Line 57: | Line 57: | ||
[[Category:Styling templates]] | [[Category:Styling templates]] | ||
{{Clear}} | {{Clear}} | ||
== Template Data == | == Template Data == | ||
<templatedata> | <templatedata> | ||
| Line 66: | Line 67: | ||
"required": true | "required": true | ||
}, | }, | ||
"Type": { | |||
" | "description": "Type of company ownership", | ||
" | "example": "Public, Private, Government, Subsidiary", | ||
"required": true | "required": true | ||
}, | |||
"Founded": { | "Founded": { | ||
"type": "string", | "type": "string", | ||
| Line 78: | Line 79: | ||
"Industry": { | "Industry": { | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "The industry (or industries) the company is in", | ||
"example": "Electronics, EV's, Esc", | "example": "Electronics, EV's, Esc", | ||
"required": true | "required": true | ||
| Line 93: | Line 94: | ||
"autovalue": "QuestionMark.svg", | "autovalue": "QuestionMark.svg", | ||
"default": "QuestionMark.svg", | "default": "QuestionMark.svg", | ||
"required": true | "required": true | ||
} | } | ||
Latest revision as of 06:37, 20 October 2025
Usage
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.
Company Name
| Basic information | |
|---|---|
| Founded | 2000 |
| Legal structure | Public |
| Industry | Industrial |
| Official website | https://example.com/ |
{{InfoboxCompany
| Company =
| Type =
| Founded =
| Industry =
| Official Website =
| Logo =
}}
Template Data
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 | |
|---|---|---|---|---|
| Name | Name | Name of Company | String | required |
| Type | Type | Type of company ownership
| Unknown | required |
| Founded | Founded | What year was the company founded | String | required |
| Industry | Industry | The industry (or industries) the company is in
| String | required |
| Official Website | Official Website | Website of the company. | String | required |
| Logo | Logo | The logo associated with the company.
| File | required |