Template:Event: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:
}} {{#if: {{{noproperties|}}}  
}} {{#if: {{{noproperties|}}}  
|  
|  
| {{#if: {{{date|}}}
| {{#arraymap:{{{date|}}}|,|{date}|{{#subobject: {{#if: {{{date|}}} | {{#time: d m Y|{{{date}}} }} }}  
  | {{#arraymap:{{{date}}}|,|x|{{#set:Has date={{#time:Y/m/d H:i|x {{{time|}}} }} }} }}
    |Has title={{{title|}}}
  }}{{#set:  
    |Has date={{#time:Y/m/d H:i|{date} {{{time|}}} }}  
  |Has title={{{title|}}}
    |Has time={{{time|}}}
  |Has time={{{time|}}}
    |Has address={{{address|}}}
  |Has address={{{address|}}}
    |In venue={{{venue|}}}
  |In venue={{{venue|}}}
    |Has link venue={{{linkvenue|}}}
  |Has link venue={{{linkvenue|}}}
    |In city={{{city|}}}
  |In city={{{city|}}}
    |In postal code={{{postalcode|}}}
  |In postal code={{{postalcode|}}}
    |Has coordinates={{#if: {{#varexists:coords}}  
  |Has coordinates={{#if: {{#varexists:coords}}  
      | {{#var:coords}}  
    | {{#var:coords}}  
      | {{Coordinates
    | {{Coordinates
        |address={{{address|}}}
      |address={{{address|}}}
        |venue={{{venue|}}}
      |venue={{{venue|}}}
        |city={{{city|}}}
      |city={{{city|}}}
        }}
       }}
       }}
     }}
     |Has location={{#if: {{{venue|}}}  
  |Has location={{#if: {{{venue|}}}  
      | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }}  
    | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }}  
      }} {{#if: {{{address|}}}
    }} {{#if: {{{address|}}}
      | {{{address}}}{{#if: {{{city|}}} | , }}
    | {{{address}}}{{#if: {{{city|}}} | , }}
      }} {{{city|}}}
    }} {{{city|}}}
    |Has url={{fullurl:{{FULLPAGENAME}}}}
  |Has url={{fullurl:{{FULLPAGENAME}}}}
    |Has event type={{{type|}}}
  }} {{#arraymap: {{{workgroup|}}}|,|x|{{#set:Organized by=x}}|}}
    |Organized by={{{workgroup|}}}|+sep=,
    }}|
  }}
}}</includeonly>
}}</includeonly>

Revision as of 23:06, 7 March 2017