Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 68: Line 68:
     }} yet  
     }} yet  
   }}.
   }}.
}} {{#ifeq: {{{type|}}} | Meeting
}} {{#ifeq: {{{type|Event}}} | |
|
| {{#ifeq: {{{formlink|true}}} | true  
| {{#ifeq: {{{formlink|true}}} | true  
   | {{NewMeeting
   | {{NewEvent
     | {{{1|+}}}
     | {{{1|+}}}
     | lang={{{lang|}}}
     | lang={{{lang|}}}

Revision as of 00:18, 15 February 2017

Usage

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

Examples

No event

{{Events|An awesome crew}}

An awesome crew haven't organized any event yet. Template:Event ics

Events by Crew BW

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

Crew BW n'a pas encore organisé d'évènements. Template:Event ics

Future events by Pirates de Liège

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

Pirates de Liège n'a pas encore organisé d'évènements. 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|lang=en|start=now|preload=Template:EmptyPirateLab/Preload}}

Pirate Lab haven't organized any meeting yet. Template:Event ics