Difference between revisions of "Template:Event"

From Pirate Party Belgium
Jump to: navigation, search
m
(7 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
   | {{#if: {{{address|}}} | {{{address}}} | ? }}
 
   | {{#if: {{{address|}}} | {{{address}}} | ? }}
 
   }}<br />{{#if: {{{postalcode|}}}  
 
   }}<br />{{#if: {{{postalcode|}}}  
   | {{{postalcode}}} {{#if: {{{city|}}} | {{{city}}} | ? }}  
+
   | {{{postalcode}}} {{#if: {{{city|}}}  
   | {{#if: {{{city|}}} | {{{city}}} | ? }}  
+
    | {{{city}}}  
 +
    | {{#ifeq: {{{venue|}}}{{{address|}}} | Internet | | ? }}
 +
    }}
 +
   | {{#if: {{{city|}}}  
 +
    | {{{city}}}  
 +
    | {{#ifeq: {{{venue|}}}{{{address|}}} | Internet | | ? }}
 +
    }}
 
   }}
 
   }}
 
}}{{#ifeq: {{{nomap|}}} | true
 
}}{{#ifeq: {{{nomap|}}} | true
Line 32: Line 38:
 
     |city={{{city|}}}
 
     |city={{{city|}}}
 
     }}
 
     }}
   }}{{#display_map: {{#var: coords}} | height=225px | width=300px}}
+
   }}{{#display_map: {{#var: coords}} | height=225px | width=300px | enablefullscreen = yes | scrollwheelzoom = no }}
 
}} {{#if: {{{nocat|}}}  
 
}} {{#if: {{{nocat|}}}  
 
|  
 
|  
Line 47: Line 53:
 
       |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|}}}

Revision as of 11:15, 18 April 2018