Difference between revisions of "Template:Event"

From Pirate Party Belgium
Jump to: navigation, search
m (static map)
 
(7 intermediate revisions by the same user not shown)
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|}}} | {{{city}}} | ? }}  
+
  | #default = <br />{{#if: {{{postalcode|}}}  
  | {{#if: {{{city|}}} | {{{city}}} | ? }}  
+
    | {{{postalcode}}} {{#if: {{{city|}}} | {{{city}}} | ? }}
 +
    | {{#if: {{{city|}}} | {{{city}}} | ? }}
 +
    }}
 
   }}
 
   }}
 
}}{{#ifeq: {{{nomap|}}} | true
 
}}{{#ifeq: {{{nomap|}}} | true
Line 32: Line 34:
 
     |city={{{city|}}}
 
     |city={{{city|}}}
 
     }}
 
     }}
   }}{{#display_map: {{#var: coords}} | height=225px | width=300px | enablefullscreen = yes | static = yes }}
+
   }}{{#display_map: {{#var: coords}} | height=225px | width=300px | enablefullscreen = yes | scrollwheelzoom = no }}
 
}} {{#if: {{{nocat|}}}  
 
}} {{#if: {{{nocat|}}}  
 
|  
 
|  
Line 47: Line 49:
 
       |Has title={{{title|}}}
 
       |Has title={{{title|}}}
 
       |Has date={{#ifeq: {date} | ?
 
       |Has date={{#ifeq: {date} | ?
 +
        |
 +
        | {{#time:Y/m/d H:i|{date} {{{time|}}} }}
 +
        }}
 +
      |Has end date={{#ifeq: {date} | ?
 
         |  
 
         |  
 
         | {{#time:Y/m/d H:i|{date} {{{time|}}} }}  
 
         | {{#time:Y/m/d H:i|{date} {{{time|}}} }}  
 
         }}
 
         }}
 
       |Has time={{{time|}}}
 
       |Has time={{{time|}}}
 +
      |Has end time={{{time|}}}
 
       |Has address={{{address|}}}
 
       |Has address={{{address|}}}
 
       |In venue={{{venue|}}}
 
       |In venue={{{venue|}}}

Latest revision as of 20:11, 23 March 2020