Template:Infobox Company: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
(make web address more concise)
imported>Caesar Schinas
(sanitise names, add TlDoc)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="border: 1px solid #aaa; background-color:#f9f9f9; padding:5px; font-size:95%; width: 25em; text-align: left;"
<includeonly>
|-
{{Template:Infobox
{{#if: {{{org_name_legal|}}}|
| title        = {{{name|}}}
    {{!}} colspan="2" style="text-align: center; font-size:larger;" {{!}}'''{{{org_name_legal}}}'''
 
}}
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
<!--|-
| 1_datastyle  = text-align:center; padding:0.5em;
{{#if: {{{org_name_short|}}}|
 
    {{!}} colspan="2" style="text-align: center;" {{!}}'''{{{org_name_short}}}'''
| 2_label      = Website
}}-->
| 2_data      = {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]}}
|-
 
{{#if: {{{org_logo|}}}|
| 3_label      = Parent organisation
    {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{org_logo}}}|{{{logo_size|300x100px}}}]]
| 3_data      = {{{parent|}}}
}}
 
|-
| 4_label      = Company form
{{#if: {{{org_parent|}}}|
| 4_data      = {{{company_form|}}}
    ! Parent Organization
 
    {{!}}{{{org_parent|}}}
| 5_label      = Ownership type
}}
| 5_data      = {{{ownership_type|}}}{{#if:{{{stock_symbol|}}}|, {{{stock_symbol|}}}}}
|-
 
{{#if: {{{org_homepage|}}}|
| 6_label      = Founded
    ! Website
| 6_data      = {{#if: {{{foundation_date|}}}| {{{foundation_date}}}{{#if:{{{founded_by|}}}|, ''by '' {{{founded_by}}} }} | {{#if:{{{founded_by|}}}|''by '' {{{founded_by}}} }} }}
    {{!}}<span class="plainlinks">[http://{{{org_homepage}}}]</span>
 
}}
| 7_label     = Headquarters
|-
| 7_data      = {{#if: {{{location_street|}}}|{{{location_street|}}}<br />}} {{{location_city|}}} {{#if: {{{location_state|}}}|, {{{location_state|}}} }} {{#if: {{{location_state|}}} | {{#if: {{{location_country|}}}|<br />{{{location_country|}}} }} | {{#if: {{{location_country|}}}|, {{{location_country|}}} }} }}
{{#if: {{{org_form|}}}|
 
    ! Company Form
| 8_label      = Industry
    {{!}}{{{org_form}}}
| 8_data      = {{{industry|}}}
}}
 
|-
| 9_label     = Product/Service
{{#if: {{{org_ownership_type|}}}|
| 9_data      = {{{product|}}}
    ! Company Type
 
    {{!}}{{{org_ownership_type|}}}{{#if:{{{org_stock_symbol|}}}|, {{{org_stock_symbol|}}}}}
}}</includeonly><noinclude>{{TlDoc}}</noinclude>
}}
|-
{{#ifeq: {{{org_foundation_date|}}}{{{org_founded_by|}}} | | |
    ! Founded
    {{#if: {{{org_foundation_date|}}}| {{!}}{{{org_foundation_date}}}{{#if:{{{org_founded_by|}}}|, ''by '' {{{org_founded_by}}} }} | {{!}}{{#if:{{{org_founded_by|}}}|''by '' {{{org_founded_by}}} }} }}
}}
|-
{{#ifeq: {{{location_street|}}}{{{location_city|}}}{{{location_state|}}}{{{location_country|}}} | | |
     ! Headquarters
    {{!}}{{#if: {{{location_street|}}}|{{{location_street|}}}<br />}} {{{location_city|}}} {{#if: {{{location_state|}}}|, {{{location_state|}}} }} {{#if: {{{location_state|}}} | {{#if: {{{location_country|}}}|<br />{{{location_country|}}} }} | {{#if: {{{location_country|}}}|, {{{location_country|}}} }} }}
}}
|-
{{#if: {{{category_prime|}}}|
    ! Industry
     {{!}} {{{category_prime}}}
}}
|-
{{#if: {{{prime_function|}}}|
    ! Product/Service
    {{!}} {{{prime_function|}}}
}}
|-
|}

Latest revision as of 02:59, 14 May 2009

This documentation is transcluded from Template:Infobox Company/doc (edit | history)

Infobox for articles about companies.

Usage

Copy the following code, paste it directly below the {{subpages}} tag, and then fill in any applicable values.
Do not remove those which do not apply or which you do not know; just leave them blank and they will not show up in the infobox.
Do not leave a blank line either before or after the infobox code.

{{Infobox Company
| name             = 
| parent           = 
| logo             = 
| website          = 
| company_form     = 
| ownership_type   = 
| stock_symbol     = 
| foundation_date  = 
| founded_by       = 
| location_street  = 
| location_city    = 
| location_state   = 
| location_country = 
| industry         = 
| product          = 
}}

Example

Microsoft Corporation
Microsoft wordmark.png
Website www.microsoft.com
Ownership type Public, NASDAQ:MSFT
Founded 1975, by Bill Gates
Headquarters Redmond , Washington
United States
Industry Computers
Product/Service Computer and Consumer Products
{{Infobox Company
| name             = Microsoft Corporation
| parent           = 
| logo             = Microsoft_wordmark.png
| website          = www.microsoft.com
| company_form     = 
| ownership_type   = Public
| stock_symbol     = NASDAQ:MSFT
| foundation_date  = 1975
| founded_by       = [[Bill Gates]]
| location_street  = 
| location_city    = Redmond
| location_state   = Washington
| location_country = United States
| industry         = Computers
| product          = Computer and Consumer Products
}}