Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 47: Line 47:
   }}
   }}
|default={{NoEvent|{{{1|}}}|type={{{type|}}}}}
|default={{NoEvent|{{{1|}}}|type={{{type|}}}}}
|named args={{#switch: {{{format|}}}
  | list = 1
  | 0
  }}
}} {{#ifeq: {{{formlink|true}}} | true  
}} {{#ifeq: {{{formlink|true}}} | true  
| <span style="float:right;">''{{NewEvent|{{{1|}}}|preload={{{preload|}}}|type={{{type|}}}}}''</span><br />
| <span style="float:right;">''{{NewEvent|{{{1|}}}|preload={{{preload|}}}|type={{{type|}}}}}''</span><br />

Revision as of 22:43, 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
Template:Event ics

Events by Crew BW

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

There is no event for Crew BW. Add a new event
Template:Event ics

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
Template:Event ics

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
Template:Event ics