Template:Event: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 20: Line 20:
     }} {{#if: {{{address|}}} | – {{{address}}} }}
     }} {{#if: {{{address|}}} | – {{{address}}} }}
   | {{#if: {{{address|}}} | {{{address}}} | ? }}
   | {{#if: {{{address|}}} | {{{address}}} | ? }}
   }}<br />{{#if: {{{postalcode|}}}  
   }}{{#switch: {{lc:{{{venue|}}}}} | internet = | online =
   | {{{postalcode}}} {{#if: {{{city|}}}  
   | #default = <br />{{#if: {{{postalcode|}}}  
     | {{{city}}}  
     | {{{postalcode}}} {{#if: {{{city|}}} | {{{city}}} | ? }}
    | {{#ifeq: {{{venue|}}}{{{address|}}} | Internet | | ? }}  
     | {{#if: {{{city|}}} | {{{city}}} | ? }}
     }}
  | {{#if: {{{city|}}}  
    | {{{city}}}  
    | {{#ifeq: {{{venue|}}}{{{address|}}} | Internet | | ? }}
     }}
     }}
   }}
   }}
}}{{#ifeq: {{{nomap|}}} | true
}}{{#ifeq: {{{nomap|}}} | true
|
|
| {{#vardefine: coords  
| {{#switch: {{lc:{{{venue|}}}}} | internet = | online =
  | {{Coordinates
  | #default = {{#vardefine: coords  
    |address={{{address|}}}
    | {{Coordinates
    |venue={{{venue|}}}
      |address={{{address|}}}
    |city={{{city|}}}
      |venue={{{venue|}}}
    }}
      |city={{{city|}}}
  }}{{#display_map: {{#var: coords}} | height=225px | width=300px | enablefullscreen = yes | scrollwheelzoom = no }}
      }}
    }}{{#display_map: {{#var: coords}} | height=225px | width=300px | enablefullscreen = yes | scrollwheelzoom = no }}
  }}
}} {{#if: {{{nocat|}}}  
}} {{#if: {{{nocat|}}}  
|  
|  

Revision as of 18:58, 23 March 2020