Template:MapEvents: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#ask: {{#if: {{{type|}}} | [[Category:{{{type}}}]] | Category:Event }} {{#if: {{{1|}}} | [[Organized by::{{{1}}}]] | Organized by::+ }} Has coor...") |
No edit summary |
||
Line 5: | Line 5: | ||
| [[Organized by::{{{1}}}]] | | [[Organized by::{{{1}}}]] | ||
| [[Organized by::+]] | | [[Organized by::+]] | ||
}} [[Has coordinates::+]] {{#if: {{{start|}}} | [[Has date::>{{#time: Y/m/j|{{{start}}} }}]] }} | }} [[Has coordinates::+]] {{#if: {{{start|}}} | [[Has date::>{{#time: Y/m/j|{{{start}}} }}]] }} {{#if: {{{end|}}} | [[Has date::<{{#time: Y/m/j|{{{end}}} }}]] }} | ||
| ?Has coordinates | | ?Has coordinates | ||
| format = leaflet | | format = leaflet | ||
Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
<nowiki>{{MapEvents|An awesome team|type=Meeting|start=now|order=desc|limit=20}}</nowiki> | <nowiki>{{MapEvents|An awesome team|type=Meeting|start=now|end=tomorrow|order=desc|limit=20}}</nowiki> | ||
== Example == | == Example == | ||
Line 29: | Line 29: | ||
{{MapEvents|type=Meeting|start=now}} | {{MapEvents|type=Meeting|start=now}} | ||
=== Map of events from last week to next week === | |||
<nowiki>{{MapEvents|start=past week|end=next week}}</nowiki> | |||
{{MapEvents|start=-1 week|end=+1 week}} | |||
=== Map of 20 most recent events === | === 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. | |||
<nowiki>{{MapEvents}}</nowiki> | <nowiki>{{MapEvents}}</nowiki> |
Revision as of 19:05, 26 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=past week|end=next 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}}