Difference between revisions of "Template:Event"

From Pirate Party Belgium
Jump to: navigation, search
m
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
   | ?  
 
   | ?  
 
   }}{{#if: {{{time|}}}  
 
   }}{{#if: {{{time|}}}  
   | , {{{time}}}
+
   | , {{#time:{{int:sidebar-time-format}}|{{{time}}} }}
 
   }}
 
   }}
 
}}{{#if: {{{page|}}}
 
}}{{#if: {{{page|}}}
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 | | ? }}
 
 
     }}
 
     }}
 
   }}
 
   }}
Line 38: 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 53: 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