Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 27: Line 27:
     | Table event intro  
     | Table event intro  
     }}
     }}
   }}{{#switch: {{{lang|}}} | fr = /fr | nl = /nl }}
   }}
|template={{#ifeq: {{{1|+}}} | + | Table event organized | Table event }}
|template={{#ifeq: {{{1|+}}} | + | Table event organized | Table event }}
|outrotemplate=Table outro
|outrotemplate=Table outro
Line 33: Line 33:
|sort = Has date
|sort = Has date
|order = {{{order|desc}}}
|order = {{{order|desc}}}
|searchlabel={{#switch: {{{lang|}}}  
|searchlabel={{#switch: {{{type|}}}
   | fr = Afficher plus {{#switch: {{{type|}}}
   | Meeting = {{int:event-show-more-meetings}}
    | Meeting = de réunions
  | PirateBeer = {{int:event-show-more-pirate-beers}}
    | PirateBeer = de pirate beers
   | {{int:event-show-more}}
    | d'évènements
    }} !
  | nl = Toon meer {{#switch: {{{type|}}}
    | Meeting = samenkomsten
    | PirateBeer = pirate beers
    | evenementen
    }} !
   | Show moarr {{#switch: {{{type|}}}
    | Meeting = meetings
    | PirateBeer = pirate beers
    | events
    }}!
   }}
   }}
|default={{NoEvent|{{{1|}}}|lang={{{lang|}}}|type={{{type|}}}}}
|default={{NoEvent|{{{1|}}}|type={{{type|}}}}}
}} {{#ifeq: {{{formlink|true}}} | true  
}} {{#ifeq: {{{formlink|true}}} | true  
| {{NewEvent|{{{1|}}}|lang={{{lang|}}}|preload={{{preload|}}}|type={{{type|}}}}}
| {{NewEvent|{{{1|}}}|preload={{{preload|}}}|type={{{type|}}}}}
}}  {{#ifeq: {{{export|true}}} | true  
}}  {{#ifeq: {{{export|true}}} | true  
| <span style="float:right">''{{Event ics
| <span style="float:right">''{{Event ics
Line 61: Line 49:
   | order={{{order|desc}}}
   | order={{{order|desc}}}
   | date={{{start|}}}
   | date={{{start|}}}
   | text={{#switch: {{{lang|}}}
   | text={{int:event-export-for|iCalendar}}
    | fr = Exporter au format iCalendar
    | Export for iCalendar
    }}
   }}''</span><br />
   }}''</span><br />
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 13:46, 22 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