Template:Infobox Company: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(Added default image height as well as width. (300x100px))
imported>Caesar Schinas
(Big Experiment - hide ''any value'' which is not set)
Line 1: Line 1:
{| class="infobox" style="border: 1px solid #aaa; background-color:#f9f9f9; padding:5px; font-size:95%; width: 25em; text-align: left;"
{| class="infobox" style="border: 1px solid #aaa; background-color:#f9f9f9; padding:5px; font-size:95%; width: 25em; text-align: left;"
|-
|-
{{#if:{{{org_name_legal|}}}|
{{#if: {{{org_name_legal|}}}|
     {{!}} colspan="2" style="text-align: center; font-size:larger;" {{!}}'''{{{org_name_legal}}}'''
     {{!}} colspan="2" style="text-align: center; font-size:larger;" {{!}}'''{{{org_name_legal}}}'''
}}
}}
|-
|-
{{#if:{{{org_name_short|}}}|
{{#if: {{{org_name_short|}}}|
     {{!}} colspan="2" style="text-align: center;" {{!}}'''{{{org_name_short}}}'''
     {{!}} colspan="2" style="text-align: center;" {{!}}'''{{{org_name_short}}}'''
}}
}}
|-
|-
{{#if:{{{org_logo|}}}|
{{#if: {{{org_logo|}}}|
     {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{org_logo}}}|{{{logo_size|300x100px}}}]]
     {{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{org_logo}}}|{{{logo_size|300x100px}}}]]
}}
}}
|-
|-
{{#if:{{{org_parent|}}}|
{{#if: {{{org_parent|}}}|
     ! Parent Organization
     ! Parent Organization
     {{!}}{{{org_parent|}}}
     {{!}}{{{org_parent|}}}
}}
}}
|-
|-
{{#if:{{{org_homepage|}}}|
{{#if: {{{org_homepage|}}}|
     ! Website
     ! Website
     {{!}}{{{org_homepage}}}
     {{!}}{{{org_homepage}}}
}}
}}
|-
|-
{{#if:{{{org_form|}}}|
{{#if: {{{org_form|}}}|
     ! Company Form
     ! Company Form
     {{!}}{{{org_form}}}
     {{!}}{{{org_form}}}
}}
}}
|-
|-
{{#if:{{{org_ownership_type|}}}|
{{#if: {{{org_ownership_type|}}}|
     ! Company Type
     ! Company Type
     {{!}}{{{org_ownership_type|}}}{{#if:{{{org_stock_symbol|}}}|, {{{org_stock_symbol|}}}}}
     {{!}}{{{org_ownership_type|}}}{{#if:{{{org_stock_symbol|}}}|, {{{org_stock_symbol|}}}}}
Line 43: Line 43:
}}
}}
|-
|-
! Address
{{#if: {{{location_street|{{{location_city|{{{location_state|{{{location_country|}}} }}} }}} }}}|
|{{#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|}}}}}}}
    ! Address
    {{!}}
    {{#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|}}}
          }}
    }}
}}
|-
|-
! Industry
{{#if: {{{category_prime|}}}|
| {{{category_prime|}}}
    ! Industry
    {{!}} {{{category_prime}}}
}}
|-
|-
! Product/Service
{{#if: {{{category_prime|}}}|
| {{{prime_function|}}}
    ! Product/Service
    {{!}} {{{prime_function|}}}
}}
|-
|-
|}
|}

Revision as of 19:06, 24 November 2008