Difference between revisions of "Template:MapEvents"

From Pirate Party Belgium
Jump to: navigation, search
m
m
 
(6 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
| ?Has title=title
 
| ?Has title=title
 
| ?Has date#ISO=date
 
| ?Has date#ISO=date
 +
| ?Has time=time
 
| ?Has location=location
 
| ?Has location=location
 
| ?Organized by=workgroup
 
| ?Organized by=workgroup
| ?Has time=time
 
 
| format = map
 
| format = map
 
| template = Event popup
 
| template = Event popup
Line 19: Line 19:
 
| showtitle=off
 
| showtitle=off
 
| enablefullscreen = yes
 
| enablefullscreen = yes
| static = yes
+
| scrollwheelzoom = no
| named args = 1
+
| markercluster = yes
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
Line 48: Line 48:
 
{{MapEvents}}
 
{{MapEvents}}
  
=== Map of '''all''' pirate beers by [[Crew BW]] ===
+
=== Map of '''all''' pirate drinks by [[Crew BW]] ===
  
  <nowiki>{{MapEvents|Crew BW|type=PirateBeer}}</nowiki>
+
  <nowiki>{{MapEvents|Crew BW|type=PirateDrink}}</nowiki>
  
{{MapEvents|Crew BW|type=PirateBeer}}
+
{{MapEvents|Crew BW|type=PirateDrink}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 10:52, 31 January 2018

Usage

{{MapEvents|An awesome team|type=Meeting|start=now|end=tomorrow|order=desc|limit=20}}

Example

Map of future events

{{MapEvents|start=now|order=asc}}


Map of events from last week to next week

{{MapEvents|start=-1 week|end=+1 week}}


Map of 20 most recent events

This will a show a map of 20 events ordered by descending date. For instance, if there are 5 incoming events, it will also show 15 past events.

{{MapEvents}}
Loading map...

Map of all pirate drinks by Crew BW

{{MapEvents|Crew BW|type=PirateDrink}}
Loading map...