Jump to content

Template:Infobox company: Difference between revisions

From WikiGenius
vikidiaen>CaesarAugustus
m CaesarAugustus moved page Template:Company to Template:Infobox company: Infobox
 
Added.
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|}}}
<image source="image">
  |{{#iferror:{{#expr:0{{{imageSize|}}}<2}}  <!-- Is it a number? -->
    <caption source="caption">
    |[[Category:Invalid template parameter value (image upright size)]]
        <default>{{{name}}} image</default>
    |{{#ifexpr:0{{{imageSize|}}}<2  <!-- Is is not too big? -->
    </caption>
      |{{Meta box/Image|image={{{logo|}}}|upright={{{imageSize|{{#if:{{{image2|}}}||1.3}}}}}|altText={{{imageDescription|}}}|image2={{{image2|}}}|upright2={{{imageSize2|}}}|altText2={{{imageDescription2|}}}|caption={{{logoCaption|}}}}}
    </image>
      |[[Category:Invalid template parameter value (image upright size)]]
<data source="url"><label>URL</label></data>
      }}
<data source="slogan"><label>Slogan</label></data>
    }}
<data source="commercial"><label>Commercial?</label></data>
  |{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Articles to illustrate (information box)]]}}
<data source="type"><label>Type</label></data>
  }}
<data source="language"><label>Language(s)</label></data>
{{Meta box/Section|borderColour=#3C895A|titleShape=square|titleBackground=#ACF9CA|titleTextColour=#1C693A|title=Company}}
<data source="registration"><label>Registration</label></data>
{{#if:{{{coa|}}}
<data source="owner"><label>Owner</label></data>
  |{{#iferror:{{#expr:0{{{coaSize|}}}<2}}  <!-- Is it a number? -->
<data source="creator"><label>Creator</label></data>
    |[[Category:Invalid template parameter value (image upright size)]]
<data source="maintainer"><label>Maintainer</label></data>
    |{{#ifexpr:0{{{coaSize|}}}<2  <!-- Is is not too big? -->
<data source="launch date"><label>Launched</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="current status"><label>Current status</label></data>
      |[[Category:Invalid template parameter value (image upright size)]]
<data source="article count"><label>Article count</label></data>
      }}
<data source="revenue"><label>Revenue</label></data>
    }}
</infobox><noinclude>
  }}
{{Documentation}}
{{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Type|text={{{type|}}}}}
{{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Industry|text={{{industry|}}}}}
{{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Founded|text={{{founded|}}}}}
{{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Founder|text={{{founder|}}}}}
{{Meta box/Row|borderColour=#3C895A|rowShape=square|title=Headquarter City|text={{{hqCity|}}}}}
{{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>
 
<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>

Revision as of 04:20, 2 February 2024

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.
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.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.