Template:Infobox Company: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>Caesar Schinas
(Attempt to convert to use Template:Infobox)
Line 1: Line 1:
{| class="infobox"
<includeonly>
|-
{{Template:Infobox
{{#if: {{{org_name_legal|}}}|
| title        = {{{org_name_legal|}}}
    {{!}} colspan="2" style="text-align: center; font-size:larger;" {{!}}'''{{{org_name_legal}}}'''
 
}}
| 1_data      = {{#if:{{{org_logo|}}}|[[Image:{{{org_logo}}}|{{{logo_size|100x300px}}}]]}}
<!--|-
| 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:{{{org_homepage|}}}|[http://{{{org_homepage}}} {{{org_homepage}}}]}}
|-
 
{{#if: {{{org_logo|}}}|
| 3_label      = Parent organisation
    {{!}} colspan="2" style="text-align: center; padding: 1em;" {{!}} [[Image:{{{org_logo}}}|{{{logo_size|250x100px}}}]]
| 3_data      = {{{org_parent|}}}
}}
 
|-
| 4_label      = Company form
{{#if: {{{org_homepage|}}}|
| 4_data      = {{{org_form|}}}
    ! Website
 
    {{!}}<span class="plainlinks">[http://{{{org_homepage}}} {{{org_homepage}}}]</span>
| 5_label      = Company type
}}
| 5_data      = {{{org_ownership_type|}}}{{#if:{{{org_stock_symbol|}}}|, {{{org_stock_symbol|}}}}}
|-
 
{{#if: {{{org_parent|}}}|
| 6_label      = Founded
    ! Parent Organization
| 6_data      = {{#if: {{{org_foundation_date|}}}| {{{org_foundation_date}}}{{#if:{{{org_founded_by|}}}|, ''by '' {{{org_founded_by}}} }} | {{#if:{{{org_founded_by|}}}|''by '' {{{org_founded_by}}} }} }}
    {{!}}{{{org_parent|}}}
 
}}
| 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      = {{{category_prime|}}}
}}
 
|-
| 9_label     = Product/Service
{{#if: {{{org_ownership_type|}}}|
| 9_data      = {{{prime_function|}}}
    ! Company Type
 
    {{!}}{{{org_ownership_type|}}}{{#if:{{{org_stock_symbol|}}}|, {{{org_stock_symbol|}}}}}
}}</includeonly>
}}
|-
{{#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|}}}
}}
|-
|}<noinclude>
<pre>
category_prime=
location_city=
location_country  =
location_state=
location_street=
org_form=
org_foundation_date=
org_founded_by  =
org_homepage=
org_logo=
org_name_legal=
org_name_short=
org_ownership_type=
org_parent=
org_stock_symbol=
prime_function=
</pre></noinclude>

Revision as of 02:59, 23 April 2009