Template:ExternalEventSidebar: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
(subobject)
No edit summary
Line 62: Line 62:
| colspan="2" style="text-align: center;" | {{#formlink:form=External event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-event}} }}
| colspan="2" style="text-align: center;" | {{#formlink:form=External event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-event}} }}
|}{{#arraymap:{{{date|}}}|,|{date}|{{#subobject:External
|}{{#arraymap:{{{date|}}}|,|{date}|{{#subobject:External
    | Has title={{{title|}}}
  | Has title={{{title|}}}
    | {{#arraymap:{{{workgroup|}}}|,|x|Organized by=x|{{!}} }}
  | {{#arraymap:{{{workgroup|}}}|,|x|Organized by=x|{{!}} }}
    | Has date={{#time:Y/m/d H:i|{date} {{#var: time}}}}
  | Has date={{#time:Y/m/d H:i|{date} {{#var: time}}}}
    | Has time={{#time:H:i|{{#var: time}} }}
  | Has time={{#time:H:i|{{#var: time}} }}
    | In venue={{{venue|}}}
  | In venue={{{venue|}}}
    | Has link venue={{{linkvenue|}}}
  | Has link venue={{{linkvenue|}}}
    | Has address={{{address|}}}
  | Has address={{{address|}}}
    | In postal code={{{postalcode|}}}
  | In postal code={{{postalcode|}}}
    | In city={{{city|}}}
  | In city={{{city|}}}
    | Has price={{#switch: {{lc:{{{price|free}}}}}
  | Has price={{#switch: {{lc:{{{price|free}}}}}
      | free = 0
    | free = 0
      | gratuit = 0
    | gratuit = 0
      | gratis = 0
    | gratis = 0
      | {{{price}}}
    | {{{price}}}
      }}
    | Has url={{#if: {{{url|}}}
      | {{{url}}}
      | {{fullurl:{{FULLPAGENAME}}}}
      }}
    | Has coordinates={{#var:coords}}
    | Has location={{#if: {{{venue|}}}
      | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }}
      }} {{#if: {{{address|}}}
      | {{{address}}}{{#if: {{{city|}}} | , }}
      }} {{{city|}}}
     }}
     }}
  | Has url={{#if: {{{url|}}}
    | {{{url}}}
    | {{fullurl:{{FULLPAGENAME}}}}
    }}
  | Has coordinates={{#var:coords}}
  | Has location={{#if: {{{venue|}}}
    | {{{venue}}} {{#if: {{{address|}}}{{{city|}}} | – }}
    }} {{#if: {{{address|}}}
    | {{{address}}}{{#if: {{{city|}}} | , }}
    }} {{{city|}}}
   }}
   }}
}} {{#if: {{{nocat|}}}  
}} {{#if: {{{nocat|}}}  

Revision as of 22:10, 7 March 2017

An awesome event
Workgroup An awesome crew
Date Mon 14 November 2016
Time 12:00am
Venue Flying Dutchman
Address
Treasure Island 666
9000 Atlantica
City
Price Free
Website https://pirateparty.be
Loading map...
Export Template:Event ics
Clone this event

Usage

{{ExternalEventSidebar
|title = An awesome event
|workgroup = An awesome crew
|date = 14 nov 2016
|time = 12am
|venue = Flying Dutchman
|linkvenue = http://www.the-flying-dutchman.nl/
|address = Treasure Island 666
|postalcode = 9000
|city = Atlantica
|url = https://pirateparty.be
|price = free
}}