Category:OSW3d238d05316e45a4ac95a11d7b24e36b: Difference between revisions

reworked eval template for postal address
(Update package: OSW Base)
(reworked eval template for postal address)
Tag: Metadata slot edit
jsonschema
Line 143: Line 143:
                 "type": "wikitext",
                 "type": "wikitext",
                 "mode": "render",
                 "mode": "render",
                 "value": "{{{street_name|}}} {{{house_no|}}}, {{{postal_code|}}} {{{city|}}}, {{{country|}}}"
                 "value": "{{{street_name|}}} {{{house_no|}}}\u003Cbr\u003E{{#if: {{{address_supplement|}}}|{{{address_supplement|}}}\u003Cbr\u003E|}}{{{postal_code|}}} {{#if: {{{city|}}} |[[{{{city|}}}]]|{{{city_name|}}} }}, {{#if: {{{region|}}}|[[{{{region|}}}]],\u0026nbsp;|}}{{#if: {{{state|}}}|[[{{{state|}}}]],\u0026nbsp;|}}{{#if: {{{country|}}} |[[{{{country|}}}]]|{{{country_name|}}} }}{{#if: {{{post_office_box_no|}}}|\u003Cbr\u003E{{#switch:{{USERLANGUAGECODE}}|#default=PO Box No|de=Postfach-Nr.}} {{{post_office_box_no|}}}|}}"
             },
             },
             "required": [
             "required": [