Difference between revisions of "Template:Events"

From Pirate Party Belgium
Jump to: navigation, search
m
Line 14: Line 14:
 
|?In postal code#
 
|?In postal code#
 
|?Organized by#
 
|?Organized by#
|format=template
+
|format={{#switch: {{{format|}}}
 +
  | list = list
 +
  | template
 +
  }}
 
|link=none
 
|link=none
 
|limit={{{limit|10}}}
 
|limit={{{limit|10}}}
Line 27: Line 30:
 
     }}
 
     }}
 
   }}
 
   }}
|template={{#ifeq: {{{1|+}}} | + | Table event organized | Table event }}
+
|template={{#switch: {{{format|}}}
 +
  | list = Event item
 +
  | {{#ifeq: {{{1|+}}} | + | Table event organized | Table event }}
 +
  }}
 
|outrotemplate=Table outro
 
|outrotemplate=Table outro
|sep=,
+
|sep={{#switch: {{{format|}}}
 +
  | list = <hr />
 +
  | ,
 +
  }}
 
|sort = Has date
 
|sort = Has date
 
|order = {{{order|desc}}}
 
|order = {{{order|desc}}}
Line 52: Line 61:
 
== Usage ==
 
== Usage ==
  
  <nowiki>{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page}}</nowiki>
+
  <nowiki>{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page|format=table}}</nowiki>
  
 
== Examples ==
 
== Examples ==

Revision as of 22:41, 28 February 2017

Usage

{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page|format=table}}

Examples

No event

{{Events|An awesome crew}}

There is no event for An awesome crew.Add a new event
Export for iCalendar

Events by Crew BW

{{Events|Crew BW|limit=5}}


Event Date Venue
Toicon-icon-avocado-schedule.svg Débat sans conférence: Comment résister à l'invasion technologique ? Mon 2 March 2020, 8:00pm Association des Habitants de Louvain-la-Neuve – 3, scavée du Biéreau
1348 Louvain-la-Neuve
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-la-Neuve) Fri 21 February 2020, 7:30pm Black Friars – rue René Magritte 7
1348 Louvain-la-Neuve
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-La-Neuve) Fri 24 January 2020, 7:30pm Black Friars – Rue René Magritte 7
1348 Louvain-La-Neuve
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-La-Neuve) Thu 31 October 2019, 7:30pm The Blackfriars Pub – rue René Magritte 7
1348 Louvain-La-Neuve
Toicon-icon-avocado-cheer.svg Pirate Drink (Louvain-La-Neuve) Fri 27 September 2019, 7:30pm The Blackfriars Pub – rue René Magritte 7
1348 Louvain-La-Neuve

Show moarr events!Add a new event
Export for iCalendar

Future events by Pirates de Liège

{{Events|Pirates de Liège|start=now|order=asc}}

There is no event for Pirates de Liège.Add a new event
Export for iCalendar

Future Pirate Lab

This example will preload the content of this page to create an new meeting.

{{Events|Pirate Lab|type=Meeting|start=now|preload=Template:EmptyPirateLab/Preload}}

There is no meeting for Pirate Lab.Add a new meeting
Export for iCalendar