Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
|link=none
|link=none
|limit={{{limit|10}}}
|limit={{{limit|10}}}
|introtemplate={{#ifeq: {{{1|+}}} | + | Table meeting organized intro | Table meeting intro }}{{#switch: {{{lang|}}} | fr = /fr | nl = /nl }}
|introtemplate={{#ifeq: {{{1|+}}} | +  
  | {{#switch: {{{type|}}}
    | Meeting = Table meeting organized intro  
    | Table event organized intro
    }}
  | {{#switch: {{{type|}}}
    | Meeting = Table meeting intro
    | Table event intro
    }}
  }}{{#switch: {{{lang|}}} | fr = /fr | nl = /nl }}
|template={{#ifeq: {{{1|+}}} | + | Meeting organized item | Meeting item }}
|template={{#ifeq: {{{1|+}}} | + | Meeting organized item | Meeting item }}
|outrotemplate=Table outro
|outrotemplate=Table outro

Revision as of 23:29, 14 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 events 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 meetings yet. Template:NewMeeting Template:Event ics