Template:MapEvents: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 6: | Line 6: | ||
| [[Organized by::+]] | | [[Organized by::+]] | ||
}} [[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 title | |||
| ?Has date | |||
| ?Has time | |||
| ?In venue | |||
| ?Has link venue | |||
| ?Has address | |||
| ?In postal code | |||
| ?In city | |||
| ?Has coordinates | | ?Has coordinates | ||
| format = leaflet | | format = leaflet | ||
| template = Event item | |||
| sort = Has date | | sort = Has date | ||
| order = {{{order|desc}}} | | order = {{{order|desc}}} | ||
| limit = {{{limit|20}}} | | limit = {{{limit|20}}} | ||
| named args = 1 | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
== Usage == | == Usage == |
Revision as of 10:49, 27 February 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 future meetings
{{MapEvents|type=Meeting|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}}
Map of all pirate beers by Crew BW
{{MapEvents|Crew BW|type=PirateBeer}}