Difference between revisions of "Template:MeetingSidebar"

From Pirate Party Belgium
Jump to: navigation, search
Line 86: Line 86:
 
| colspan="2" style="text-align: center;" | {{#formlink:form=Meeting event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-meeting}} }}
 
| colspan="2" style="text-align: center;" | {{#formlink:form=Meeting event|preload={{FULLPAGENAME}}|link text={{int:sidebar-clone-meeting}} }}
 
|}{{#subobject:{{#time:d m Y|{date} }}
 
|}{{#subobject:{{#time:d m Y|{date} }}
  | Has title={{#ifeq: {{{meetingname|Meeting}}} | Meeting
+
| Has title={{#ifeq: {{{meetingname|Meeting}}} | Meeting
    | Meeting {{#if: {{{workgroup|}}} | ({{{workgroup}}}) }}  
+
  | Meeting {{#if: {{{workgroup|}}} | ({{{workgroup}}}) }}  
    | {{{meetingname|}}}  
+
  | {{{meetingname|}}}  
    }}
+
  }}
  | Organized by={{{workgroup|}}}|+sep=,
+
| Organized by={{{workgroup|}}}|+sep=,
  | 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 attendee={{{attendees|}}}|+sep=,
+
| Has attendee={{{attendees|}}}|+sep=,
  | Has absentee={{{absentees|}}}|+sep=,
+
| Has absentee={{{absentees|}}}|+sep=,
  | Has url={{fullurl:{{FULLPAGENAME}}}}
+
| Has url={{fullurl:{{FULLPAGENAME}}}}
  | Has coordinates={{#var:coords}}
+
| Has coordinates={{#var:coords}}
  | 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 event type=Meeting
+
| Has event type=Meeting
  | Has default form=Meeting event
+
| Has default form=Meeting event
  }}|
 
 
}} {{#if: {{{nocat|}}}  
 
}} {{#if: {{{nocat|}}}  
| <!-- no categories -->
+
  <!-- no categories -->
 
| [[Category:Event]] [[Category:Meeting]]  
 
| [[Category:Event]] [[Category:Meeting]]  
 
}}</includeonly><noinclude>{{MeetingSidebar
 
}}</includeonly><noinclude>{{MeetingSidebar

Revision as of 22:43, 7 March 2017

Our awesome meeting Toicon-icon-avocado-discuss.svg
Workgroup An awesome team
Another team
Date Mon 14 November 2016
Time 12:00am
Venue Flying Dutchman
Address
Treasure Island 666
9000 Atlantica
City
Attendees Jack, Mary, Jurgen
Absentees Paul, Eve
Loading map...
Find routes on OpenStreetMap
Export iCalendar
Clone this meeting

Usage

{{MeetingSidebar
|meetingname = Our awesome meeting
|workgroup = An awesome team, Another team
|date = 14 nov 2016
|time = 12am
|venue = Flying Dutchman
|linkvenue = http://www.the-flying-dutchman.nl/
|address = Treasure Island 666
|postalcode = 9000
|city = Atlantica
|attendees = Jack, Mary, Jurgen
|absentees = Paul, Eve
}}