Template:Infobox Company: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(May fix the address bug I introduced)
imported>Caesar Schinas
(May fix the address bug I introduced)
Line 43: Line 43:
}}
}}
|-
|-
{{#ifexpr: {{{location_street|}}} or {{{location_city|}}} or {{{location_state|}}} or {{{location_country|}}}|
{{#ifexpr: {{{location_street|{{{location_city|{{{location_state|{{{location_country|}}} }}} }}} }}}|
     ! Address
     ! Address
     {{!}}
     {{!}}
     {{#if: {{{location_street|}}}|
     {{#if: {{{location_street|}}}|{{{location_street|}}}<br />}}
          {{{location_street|}}}<br />
    }}
     {{{location_city|}}}
     {{{location_city|}}}
    {{#if: {{{location_state|}}}|, {{{location_state|}}} }}
     {{#if: {{{location_state|}}}|
     {{#if: {{{location_state|}}}|
          , {{{location_state|}}}
           {{#if: {{{location_country|}}}|<br />{{{location_country|}}} }}|
    }}
           {{#if: {{{location_country|}}}|, {{{location_country|}}} }}
    {{#if: {{{location_state|}}}|
           {{#if: {{{location_country|}}}|
              <br />{{{location_country|}}}
          }}|
           {{#if: {{{location_country|}}}|
              , {{{location_country|}}}
          }}
     }}
     }}
}}
}}

Revision as of 18:30, 24 November 2008