Difference between revisions of "Template:AddresEurope"

From WikiCareer
Jump to: navigation, search
 
Line 1: Line 1:
{{#if:{{{address_1|}}}| {{#replace: {{{address_1}}} |{{#lower: {{{company_name_1}}} }}| }} }}{{{address_2|}}} {{#if:{{{postal_code|}}} | <br> {{{postal_code|}}} | }} {{#if:{{{postal_code|}}}| {{#if:{{{city|}}}|&nbsp;{{{city|}}}| }} | {{#if:{{{city|}}}|<br/>{{{city|}}}| }} }} {{#if:{{{country|}}} | <br>{{#replace:{{{country|}}}|,|}} | }}
+
{{#if:{{{address_1|}}}| {{#replace:{{#replace: {{#replace:{{#desc_removecoma:{{{address_1}}} }} |,,|,&nbsp;}} |{{#lower: {{{company_name_1}}} }}| }} |,|,&nbsp;}} }}{{#replace:{{#desc_removecoma:{{{address_2|}}} }}|,|,&nbsp;}}{{#if:{{{address_1|}}}|{{#if:{{{address_2|}}} |&nbsp;{{{address_2|}}}| }}| }}{{#ifeq:{{{address_1|}}} | | {{{postal_code|}}} | {{#if:{{{postal_code|}}}|<br/>{{{postal_code|}}}| }} }}{{#if:{{{postal_code|}}}|{{#if:{{{city|}}}|&nbsp;{{{city|}}}| }}|{{#if:{{{city|}}}|<br/>{{{city|}}}| }}}}{{#ifeq:{{#trim:{{{address_1|}}}{{{address_2|}}}{{{postal_code|}}}{{{city|}}} }}| | |<br/>}}{{#replace:{{{country|}}}|,|}}

Latest revision as of 08:21, 24 May 2019