Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 50: Line 50:
     }}!
     }}!
   }}
   }}
|default={{#if: {{{1|}}} | [[{{{1}}}]]
|default={{NoEvent|{{{1|}}}|lang={{{lang|}}}|type={{{type|}}}}}
  | {{#switch: {{{lang|}}}
    | fr = Ce groupe de travail
    | nl = Deze werkgroep
    | This workgroup
    }}
  }} {{#switch: {{{lang|}}}  
  | fr = n'a pas encore organisé {{#switch: {{{type|}}}
    | Meeting = de réunions
    | PirateBeer = de pirate beers
    | d'évènements
    }}
  | nl = heeft nog geen {{#switch: {{{type|}}}
    | Meeting = samenkomst
    | PirateBeer = pirate beer
    | evenement
    }} georganiseerd
  | haven't organized any {{#switch: {{{type|}}}
    | Meeting = meeting
    | PirateBeer = pirate beer
    | event
    }} yet
  }}.
}} {{#ifeq: {{{formlink|true}}} | true  
}} {{#ifeq: {{{formlink|true}}} | true  
| {{NewEvent|{{{1|}}}|lang={{{lang|}}}|preload={{{preload|}}}|type={{{type|}}}}}
| {{NewEvent|{{{1|}}}|lang={{{lang|}}}|preload={{{preload|}}}|type={{{type|}}}}}

Revision as of 09:38, 16 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}}

There is no event for An awesome crew. Add a new event Template:Event ics

Events by Crew BW

{{Events|Crew BW|lang=fr|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|lang=fr|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|lang=en|start=now|preload=Template:EmptyPirateLab/Preload}}

There is no meeting for Pirate Lab. Add a new meeting Template:Event ics