Jump to content

Template:Infobox company: Difference between revisions

From Computerwhz Wiki
m Protected "Template:Infobox company": Template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; width:320px; margin:0 0 1em 1em; font-size:90%;"
<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;">
! colspan="2" style="text-align:center; font-size:120%;" | {{{name|{{PAGENAME}}}}}
<tr>
|-
<th colspan="2" style="text-align:center; font-size:125%; font-weight:bold; background:#ccccff;">
{{#if:{{{logo|}}}|! colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|220px]]}}
{{{title|{{PAGENAME}}}}}
|-
</th>
{{#if:{{{type|}}}|! Type {{!}} {{{type}}}}}
</tr>
|-
 
{{#if:{{{industry|}}}|! Industry {{!}} {{{industry}}}}}
{{#if:{{{logo|}}}|
|-
<tr>
{{#if:{{{founded|}}}|! Founded {{!}} {{{founded}}}}}
<td colspan="2" style="text-align:center;">[[File:{{{logo}}}|220px]]</td>
|-
</tr>
{{#if:{{{founder|}}}|! Founder {{!}} {{{founder}}}}}
}}
|-
 
{{#if:{{{active_dates|}}}|! Active dates {{!}} {{{active_dates}}}}}
{{#if:{{{caption|}}}|
|-
<tr>
{{#if:{{{headquarters|}}}|! Headquarters {{!}} {{{headquarters}}}}}
<td colspan="2" style="text-align:center; font-size:90%;">{{{caption}}}</td>
|-
</tr>
{{#if:{{{owner|}}}|! Owner {{!}} {{{owner}}}}}
}}
|-
 
{{#if:{{{website|}}}|! Website {{!}} {{{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 =
| logo =
| 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

The title shown at the top of the infobox.

Stringsuggested
Logologo

Logo filename without the File: prefix.

Example
Logo.png
Fileoptional
Captioncaption

no description

Stringoptional
Namename

no description

Stringsuggested
Typetype

no description

Example
Private
Stringoptional
Industryindustry

no description

Stringoptional
Foundedfounded

no description

Stringoptional
Active datesactive_dates

no description

Example
2026–present
Stringoptional
Statusstatus

no description

Example
Active
Stringsuggested
Founderfounder

no description

Stringoptional
Headquartersheadquarters

no description

Stringoptional
Ownerowner

no description

Stringoptional
Websitewebsite

no description

URLoptional