|
|
(7 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <includeonly> | | <infobox> |
| {{Meta box/Header|title={{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}|titleShape=square|titleBackground=#ACF9CA|titleTextColour=#1C693A|boxBackground=#F9FFFC|boxBorderColour=#3C895A}}
| | <title source="name"><default>{{PAGENAME}}</default></title> |
| {{#if:{{{logo|}}} | | |
| |{{#iferror:{{#expr:0{{{imageSize|}}}<2}} <!-- Is it a number? -->
| | <image source="logo"> |
| |[[Category:Invalid template parameter value (image upright size)]] | | <caption source="caption"> |
| |{{#ifexpr:0{{{imageSize|}}}<2 <!-- Is is not too big? -->
| | <default>{{{name}}} logo</default> |
| |{{Meta box/Image|image={{{logo|}}}|upright={{{imageSize|{{#if:{{{image2|}}}||1.3}}}}}|altText={{{imageDescription|}}}|image2={{{image2|}}}|upright2={{{imageSize2|}}}|altText2={{{imageDescription2|}}}|caption={{{logoCaption|}}}}}
| | </caption> |
| |[[Category:Invalid template parameter value (image upright size)]]
| | </image> |
| }}
| | |
| }}
| | <data source="type"><label>Type</label></data> |
| |{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles to illustrate (information box)]]}}
| | <data source="industry"><label>Industry</label></data> |
| }}
| | <data source="founded"><label>Founded</label></data> |
| {{Meta box/Section|borderColour=#3C895A|titleShape=square|titleBackground=#ACF9CA|titleTextColour=#1C693A|title=Company}}
| | <data source="founder"><label>Founder(s)</label></data> |
| {{#if:{{{coa|}}}
| | <data source="country"><label>Country</label></data> |
| |{{#iferror:{{#expr:0{{{coaSize|}}}<2}} <!-- Is it a number? -->
| | <data source="area served"><label>Area Served</label></data> |
| |[[Category:Invalid template parameter value (image upright size)]]
| | <data source="headquarters"><label>Headquarters</label></data> |
| |{{#ifexpr:0{{{coaSize|}}}<2 <!-- Is is not too big? -->
| | <data source="owner"><label>Owner</label></data> |
| |{{Meta box/Image|image={{{coa|}}}|upright={{{coaSize|0.5}}}|altText={{{coaDescription|}}}|caption={{{coaCaption|[[Coat of arms]] of {{{name|{{PAGENAME}}}}}}}}|border={{#if:{{{coaBorder|}}}|yes|no}}}}
| | <data source="parent"><label>Parent Company</label></data> |
| |[[Category:Invalid template parameter value (image upright size)]]
| | <data source="registration"><label>Registration</label></data> |
| }}
| | <data source="status"><label>Current Status</label></data> |
| }}
| | <data source="products"><label>Product(s)</label></data> |
| }}
| | <data source="services"><label>Service(s)</label></data> |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Type|text={{{type|}}}}}
| | <data source="programming language"><label>Programming Language(s)</label></data> |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Industry|text={{{industry|}}}}}
| | <data source="revenue"><label>Revenue</label></data> |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Founded|text={{{founded|}}}}}
| | <data source="number of employee"><label>Number of Employees</label></data> |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Founder|text={{{founder|}}}}}
| | <data source="website"><label>Website</label></data> |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Headquarter City|text={{{hqCity|}}}}}
| | </infobox> |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Headquarter Country|text={{{hqCountry|}}}}}
| |
| {{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Website|text={{{website|}}}}}
| |
| | |
| | |
| {{Meta box/Footer|lineColour=#3C895A|template=Company}}
| |
| </includeonly> | |
|
| |
|
| <noinclude> | | <noinclude> |
| | | {{Documentation}} |
| <table><tr><td style="vertical-align:top;">
| |
| Use this template on the article page about a company or organization to summaries basic facts.
| |
| | |
| == Instructions ==
| |
| How to use it:
| |
| * Copy the "empty" template below and paste it in the article about a company.
| |
| * Fill in some parameters and preview the result; when you're satisfied, save it.
| |
| | |
| Note that all parameters are optional: when the information is unknown or not relevant, just don't fill the corresponding parameter.
| |
| | |
| Empty template to copy:<pre>
| |
| {{Company | |
| |name=
| |
| |logo=
| |
| |logoCaption=
| |
| |type=
| |
| |industry=
| |
| |founded=
| |
| |founder=
| |
| |hqCity=
| |
| |hqCountry=
| |
| |owner=
| |
| |website=
| |
| }} | |
| </pre>
| |
| | |
| | |
| </td><td width=60% style="border-left:4px solid green; padding-left:6px; vertical-align:top;">
| |
| == Parameters ==
| |
| ;name: The most usual name of the company or organization as known in English. If left empty, the article page name will be used.
| |
| ;logo: The file name of a logo image.
| |
| ;logoCaption: A caption displayed below the logo.
| |
| ;type: Type of the company (e.g. Private, Public, Subsidiary, Division etc.)
| |
| ;industry: main industry or industries in which the company works
| |
| ;founded: Date and location of the company's establishment/foundation
| |
| ;founder: The person or organization who founded the company
| |
| ;hqCity: The name of the city where headquarter of company is located.
| |
| ;hqCountry: The name of the country of that city where headquarter of company is located.
| |
| ;owner: The name of the owner of the company.
| |
| ;website: The URL of the official website of the company/organization.
| |
| </td></tr></table>
| |
| {{clr}}
| |
| | |
| == Example ==
| |
| <table>
| |
| <tr><td style="vertical-align:top;">
| |
| This code produces the result on the right.
| |
| | |
| <pre>
| |
| {{Company
| |
| |name=Vikidia
| |
| |logo=Vikidia_logo_HD.png
| |
| |logoCaption=Vikidia's logo
| |
| |type=Private
| |
| |industry= online encyclopedia
| |
| |founded=November 17, 2006 in Décines
| |
| |founder=Mathias Damour
| |
| |hqCity=Décines
| |
| |hqCountry=[[France]]
| |
| |owner=[[Mathias Damour]]
| |
| |website=https://www.vikidia.org/
| |
| }}
| |
| </pre>
| |
| | |
| </td><td style="vertical-align:top;">
| |
| {{Company
| |
| |name=Vikidia
| |
| |logo=Vikidia_logo_HD.png
| |
| |logoCaption=Vikidia's logo
| |
| |type=Private
| |
| |industry= online encyclopedia
| |
| |founded=November 17, 2006 in Décines
| |
| |founder=[[Mathias Damour]]
| |
| |hqCity=Décines
| |
| |hqCountry=[[France]]
| |
| |owner=[[Mathias Damour]]
| |
| |website=https://www.vikidia.org/
| |
| }}
| |
| </td></tr>
| |
| </table>
| |
| | |
| [[Category:Information templates]]
| |
| | |
| </noinclude> | | </noinclude> |
Template information, documentation, and installation instructions.
Expand the below text for usage and other information.
Template Documentation:
Note: The template above might be broken without the parameters; this is normal.Create documentation for this template. (
How does this work?)
Editors can experiment with this template's
sandbox and
testcases.
Documentation does not exist. Create it at Template:Infobox company/doc .
Installation Instructions
- Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Infobox company]]
to properly attribute this template's editors.
- There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox company/install.