Template:Infobox company: Difference between revisions
Appearance
Computerwhz (talk | contribs) m Protected "Template:Infobox company": Template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
Computerwhz (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox" style="float:right; clear:right; width:22em; margin:0 0 1em 1em; border:1px solid #a2a9b1; border-spacing:3px; background:#f8f9fa; color:#202122; font-size:88%; line-height:1.5;"> | |||
<tr> | |||
<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#ccccff;"> | |||
{{#if:{{{logo|}}}| | {{{title|{{PAGENAME}}}}} | ||
|- | </th> | ||
{{#if:{{{ | </tr> | ||
{{#if:{{{industry|}}}| | {{#if:{{{logo|}}}| | ||
<tr> | |||
{{#if:{{{founded|}}}| | <td colspan="2" style="text-align:center;">[[File:{{{logo}}}|220px]]</td> | ||
</tr> | |||
{{#if:{{{ | }} | ||
{{#if:{{{ | {{#if:{{{caption|}}}| | ||
<tr> | |||
{{#if:{{{headquarters|}}}| | <td colspan="2" style="text-align:center; font-size:90%;">{{{caption}}}</td> | ||
</tr> | |||
{{#if:{{{owner|}}}| | }} | ||
{{#if:{{{website|}}}| | {{#if:{{{name|}}}| | ||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Name</th> | |||
<td>{{{name}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{type|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Type</th> | |||
<td>{{{type}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{industry|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Industry</th> | |||
<td>{{{industry}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{founded|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Founded</th> | |||
<td>{{{founded}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{active_dates|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Active dates</th> | |||
<td>{{{active_dates}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{status|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Status</th> | |||
<td>{{{status}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{founder|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Founder</th> | |||
<td>{{{founder}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{headquarters|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Headquarters</th> | |||
<td>{{{headquarters}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{owner|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Owner</th> | |||
<td>{{{owner}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{website|}}}| | |||
<tr> | |||
<th scope="row" style="text-align:left; white-space:nowrap;">Website</th> | |||
<td>{{{website}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{Infobox company | {{Infobox company | ||
| title = | |||
| logo = | |||
| caption = | |||
| name = | | name = | ||
| type = | | type = | ||
| industry = | | industry = | ||
| founded = | | founded = | ||
| active_dates = | | active_dates = | ||
| status = | |||
| founder = | | founder = | ||
| headquarters = | | headquarters = | ||
| Line 37: | Line 108: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"description": "An infobox for a company, organisation, brand, or group.", | |||
"params": { | |||
"title": { | |||
"label": "Title", | |||
"description": "The title shown at the top of the infobox.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"logo": { | |||
"label": "Logo", | |||
"description": "Logo filename without the File: prefix.", | |||
"example": "Logo.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"type": "string" | |||
}, | |||
"name": { | |||
"label": "Name", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"example": "Private", | |||
"type": "string" | |||
}, | |||
"industry": { | |||
"label": "Industry", | |||
"type": "string" | |||
}, | |||
"founded": { | |||
"label": "Founded", | |||
"type": "string" | |||
}, | |||
"active_dates": { | |||
"label": "Active dates", | |||
"example": "2026–present", | |||
"type": "string" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"example": "Active", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"founder": { | |||
"label": "Founder", | |||
"type": "string" | |||
}, | |||
"headquarters": { | |||
"label": "Headquarters", | |||
"type": "string" | |||
}, | |||
"owner": { | |||
"label": "Owner", | |||
"type": "string" | |||
}, | |||
"website": { | |||
"label": "Website", | |||
"type": "url" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 14:04, 1 June 2026
Usage
{{Infobox company
| title =
| logo =
| caption =
| name =
| type =
| industry =
| founded =
| active_dates =
| status =
| founder =
| headquarters =
| owner =
| website =
}}
An infobox for a company, organisation, brand, or group.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The title shown at the top of the infobox. | String | suggested |
| Logo | logo | Logo filename without the File: prefix.
| File | optional |
| Caption | caption | no description | String | optional |
| Name | name | no description | String | suggested |
| Type | type | no description
| String | optional |
| Industry | industry | no description | String | optional |
| Founded | founded | no description | String | optional |
| Active dates | active_dates | no description
| String | optional |
| Status | status | no description
| String | suggested |
| Founder | founder | no description | String | optional |
| Headquarters | headquarters | no description | String | optional |
| Owner | owner | no description | String | optional |
| Website | website | no description | URL | optional |