Template:Infobox company: Difference between revisions
m (Change color to blue) |
(re-added `products`) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
|logo_size=200px | |logo_size=200px | ||
|logo_caption=logo_caption | |logo_caption=logo_caption | ||
|image=image.png | |||
|image_caption=image_caption | |||
|type=type | |type=type | ||
|industry=industry | |industry=industry | ||
Line 26: | Line 28: | ||
|notes=notes | |notes=notes | ||
}} | }} | ||
<pre> | <pre> | ||
{{Infobox company | {{Infobox company | ||
Line 32: | Line 35: | ||
|logo_size= | |logo_size= | ||
|logo_caption= | |logo_caption= | ||
|image= | |||
|image_caption= | |||
|type= | |type= | ||
|industry= | |industry= | ||
Line 47: | Line 52: | ||
|notes= | |notes= | ||
}} | }} | ||
</pre> | </pre> | ||
{{clear}} | {{clear}} | ||
==Parameters== | ==Parameters== | ||
;<code>name</code> | ;<code>name</code> | ||
Line 57: | Line 64: | ||
;<code>logo_size</code> | ;<code>logo_size</code> | ||
:Optional display width of logo | :Optional display width of logo. If not specified, the size default is 200px. | ||
;<code>logo_caption</code> | ;<code>logo_caption</code> | ||
:Descriptive information for the logo, if necessary. | :Descriptive information for the logo, if necessary. | ||
;<code>image</code> | |||
:Image of the company, whether it be a group photo, or headquarters photo. | |||
;<code>image_size</code> | |||
:Optional display width of image. If not specified, the size default is 200px. | |||
;<code>image_caption</code> | |||
:Descriptive information for the image, if necessary. | |||
;<code>type</code> | ;<code>type</code> | ||
Line 116: | Line 132: | ||
|website=[//theindiestone.com theindiestone.com] | |website=[//theindiestone.com theindiestone.com] | ||
}} | }} | ||
<pre>{{Infobox company | <pre>{{Infobox company | ||
| name = The Indie Stone | | name = The Indie Stone | ||
Line 133: | Line 150: | ||
}}</pre> | }}</pre> | ||
{{clear}} | {{clear}} | ||
{{Translation guide|<syntaxhighlight lang="html">{{#switch: {{{1|}}} | |||
| type = Type | |||
| industry = Industry | |||
| founded = Founded | |||
| founder = Founder | |||
| headquarters = Headquarters | |||
| key_people = Key people | |||
| products = Products | |||
| members = Members | |||
| number_of_employees = Number of employees | |||
| website = Website | |||
| notes = Notes | |||
}} | |||
</syntaxhighlight>}} | |||
==See also== | |||
*{{ll|Template:Infobox person}} | |||
*{{ll|Template:Infobox location}} | |||
}} | }} | ||
{{ll|Category:Infobox}} | {{ll|Category:Infobox}} | ||
Line 138: | Line 174: | ||
| title = {{{name|{{#getdisplaytitle:{{FULLPAGENAME}}}}}}} | | title = {{{name|{{#getdisplaytitle:{{FULLPAGENAME}}}}}}} | ||
| color = var(--color-blue) | | color = var(--color-blue) | ||
| {{Infobox/image | | {{Infobox/image <!-- ## Logo ## --> | ||
| p1 = {{#if:{{{logo|}}}|[[File:{{{logo}}}|{{{logo_name1|{{{name|}}}}}}|{{{logo_size1|200px}}}|link=]]}} | | p1 = {{#if:{{{logo|}}}|[[File:{{{logo}}}|{{{logo_name1|{{{name|}}}}}}|{{{logo_size1|200px}}}|link=]]}} | ||
| caption = {{#if: {{{logo_caption|}}}|''{{{logo_caption|}}}''}} | | caption = {{#if: {{{logo_caption|}}}|''{{{logo_caption|}}}''}} | ||
}}{{#if:{{{ | }}{{Infobox/image <!-- ## Image ## --> | ||
| p1 = {{#if:{{{image|}}}|[[File:{{{image}}}|{{{image_size|}}}|{{{image_name|{{{name|}}}}}}]]}} | |||
|{{ | | 1 = {{#if:{{{image2|}}}|[[File:{{{icon|{{{image}}}}}}|{{{icon_name|{{{image_name|{{{name|}}}}}}}}}|link=]]}} | ||
|{{ | | p2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|{{{image_size2|}}}|{{{image_name2|{{{name|}}}}}}]]}} | ||
|{{ | | 2 = {{#if:{{{image2|}}}|[[File:{{{icon2|{{{image2}}}}}}|{{{icon_name2|{{{image_name2|{{{name|}}}}}}}}}|link=]]}} | ||
|{{Infobox/sandbox/row | | p3 = {{#if:{{{image3|}}}|[[File:{{{image3}}}|{{{image_size3|}}}|{{{image_name3|{{{name|}}}}}}]]}} | ||
| 3 = {{#if:{{{image3|}}}|[[File:{{{icon3|{{{image3}}}}}}|{{{icon_name3|{{{image_name3|{{{name|}}}}}}}}}|link=]]}} | |||
| p4 = {{#if:{{{image4|}}}|[[File:{{{image4}}}|{{{image_size4|}}}|{{{image_name4|{{{name|}}}}}}]]}} | |||
| 4 = {{#if:{{{image4|}}}|[[File:{{{icon4|{{{image4}}}}}}|{{{icon_name4|{{{image_name4|{{{name|}}}}}}}}}|link=]]}} | |||
| p5 = {{#if:{{{image5|}}}|[[File:{{{image5}}}|{{{image_size5|}}}|{{{image_name5|{{{name|}}}}}}]]}} | |||
| 5 = {{#if:{{{image5|}}}|[[File:{{{icon5|{{{image5}}}}}}|{{{icon_name5|{{{image_name5|{{{name|}}}}}}}}}|link=]]}} | |||
| caption = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}} | |||
}}{{#if:{{{type|}}}{{{industry|}}}{{{founded|}}}{{{founder|}}}{{{founders|}}}{{{hq_city|}}}{{{key_people|}}}{{{products|}}}{{{members|}}}{{{num_employees|}}}{{{website|}}}{{{homepage|}}}{{{url|}}}{{{notes|}}} | |||
|{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Type|arg1=type}} | |||
|{{{type|}}} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Industry|arg1=industry}} | |||
|{{{industry|}}} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Founded|arg1=founded}} | |||
|{{{founded|}}} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Founder|arg1=founder}} | |||
|{{#if:{{{founder|}}}{{{founders|}}}|{{{founder|{{{founders|}}}}}} }} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Headquarters|arg1=headquarters}} | |||
|{{#if:{{{hq_city|}}}|{{{hq_city|}}}, {{{hq_country|}}} }} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Key people|arg1=key_people}} | |||
|{{{key_people|}}} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Products|arg1=products}} | |||
|{{{products|}}} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Members|arg1=members}} | |||
|{{#if:{{{members|}}}|{{{members}}}{{#if:{{{members_year|}}}| ({{{members_year}}})}} }} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Number of employees|arg1=number_of_employees}} | |||
|{{#if:{{{num_employees|}}}|{{{num_employees}}}{{#if:{{{num_employees_year|}}}| ({{{num_employees_year}}})}} }} | |||
}}<!-- | |||
-->{{Infobox/sandbox/row | |||
|{{tt|name=Infobox company|default=Website|arg1=website}} | |||
|{{#if:{{{website|}}}{{{homepage|}}}{{{url|}}}|{{{website|{{{homepage|{{{url|}}}}}}}}} }} | |||
}} | |||
}}<!-- | |||
-->{{#if:{{{notes|}}}{{{footnotes|}}} | |||
|{{Infobox/section | |||
| {{tt|name=Infobox company|default=Notes|arg1=notes}} | |||
| color = var(--color-blue) | |||
| id = company-notes | |||
| collapsed = true | |||
| <div style{{=}}"padding:0em 0.5em 0.5em;">{{{notes|{{{footnotes|}}}}}}</div> | |||
}} | |||
}} | |||
}}</includeonly> | }}</includeonly> |
Revision as of 04:41, 17 March 2024
This template is used to create an infobox in an article about a company.
Usage
To use this template in an article, copy the template below, then paste the template into an article.
Only the name
, logo_size
and logo_caption
parameters are optional – those that are not populated will not be displayed correctly.
{{Infobox company |name= |logo= |logo_size= |logo_caption= |image= |image_caption= |type= |industry= |founded= |founder= <!-- or: |founders= --> |hq_city= |hq_country= |key_people= |products= |members= |members_year= <!-- Year of members data (if known) --> |num_employees= |num_employees_year= <!-- Year of num_employees data (if known) --> |website= <!-- or: |url= --> |notes= }}
Parameters
name
- The full, legal name of the company, correctly reproducing punctuation and abbreviations or lack thereof.
logo
- The company's current, primary wordmark or logo. Use the logo of the entity that is the subject of the article; the logo used may be different from the logo used on consumer products, particularly if the article is about a parent company or holding company.
logo_size
- Optional display width of logo. If not specified, the size default is 200px.
logo_caption
- Descriptive information for the logo, if necessary.
image
- Image of the company, whether it be a group photo, or headquarters photo.
image_size
- Optional display width of image. If not specified, the size default is 200px.
image_caption
- Descriptive information for the image, if necessary.
type
- Type of the company (not their type of incorporation).
industry
- The primary industry or industries in which the company operates, listed alphabetically.
founded
- Date and location of the company's establishment / foundation.
hq_city
- City of the company's headquarters
hq_country
- Country of the company's headquarters
key_people
- Up to four key individuals closely associated with the company. List the figures in order of organizational role importance. Give job title(s) in parentheses (round brackets); these job titles use standard English casing.
products
- A representative selection of the company's well known current or former products, listed alphabetically.
members
- Up to four key individuals closely associated with the company. List the figures in order of organizational role importance. Give job title(s) in parentheses (round brackets).
num_employees
- Total number of people employed by the company in the most recent year and the year prior, with the applicable years in parentheses.
num_employees_year
- The year associated with the data presented by num_employees.
website
- Top-level URL of the company's website, using
//
preceding the URL. Do not include the leadingwww.
unless the URL will not resolve without it.
notes
- Used to list citations that validate the data in the infobox or to note information about the terms, names, and figures used.
Examples
The Indie Stone company infobox
{{Infobox company | name = The Indie Stone | logo = TIS_logo.png | logo_size = 200px | logo_caption = ''The Indie Stone current logo (2018)'' | type = Private | industry = Video games | founded = 2009 | hq_city = Gateshead | hq_country = England | key_people = [[Andy Hodgetts]]<br><small>([[wikipedia:Director_(business)|Director]])</small><br>[[Chris Simpson]]<br><small>([[wikipedia:Director_(business)|Director]])</small><br>[[Marina Siu-Chong]]<br><small>([[wikipedia:Director_(business)|Director]])</small><br>[[Will Porter]]<br><small>([[wikipedia:Director_(business)|Director]])</small> | products = [[Project Zomboid]] | num_employees = 20+ | num_employees_year = 2021 | website = [//theindiestone.com theindiestone.com] }}
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| type = Type
| industry = Industry
| founded = Founded
| founder = Founder
| headquarters = Headquarters
| key_people = Key people
| products = Products
| members = Members
| number_of_employees = Number of employees
| website = Website
| notes = Notes
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.