Difference between revisions of "Template:MapEvents"

From Pirate Party Belgium
Jump to: navigation, search
m (static map)
m
Line 6: Line 6:
 
}} [[Has coordinates::+]] {{#if: {{{start|}}} | [[Has date::>{{#time: Y/m/j|{{{start}}} }}]] }} {{#if: {{{end|}}} | [[Has date::<{{#time: Y/m/j|{{{end}}} }}]] }}
 
}} [[Has coordinates::+]] {{#if: {{{start|}}} | [[Has date::>{{#time: Y/m/j|{{{start}}} }}]] }} {{#if: {{{end|}}} | [[Has date::<{{#time: Y/m/j|{{{end}}} }}]] }}
 
| ?Has coordinates
 
| ?Has coordinates
| ?Has page#
+
| ?Has page=page
| ?Has title
+
| ?Has title=title
| ?Has date#ISO
+
| ?Has date#ISO=date
| ?Has location
+
| ?Has location=location
| ?Organized by
+
| ?Organized by=workgroup
| ?Has time
+
| ?Has time=time
 
| format = map
 
| format = map
 
| template = Event popup
 
| template = Event popup
Line 20: Line 20:
 
| enablefullscreen = yes
 
| enablefullscreen = yes
 
| static = yes
 
| static = yes
 +
| named args = 1
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 16:30, 16 August 2017

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 beers by Crew BW

{{MapEvents|Crew BW|type=PirateBeer}}