Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ask: {{#if: {{{type|}}} | [[Category:{{{type|}}}]] | [[Category:Event]] }} [[Organized by::{{{1|+}}}]] {{#if: {{{start|}}} | [[Has date::>{{#time:Y/m/j|{{{start}}} }}]] }}
<includeonly>{{#ask: {{#if: {{{type|}}}  
| [[Category:{{{type|}}}]]  
| [[Category:Event]] }} {{#if: {{{1|}}}
| [[Organized by::{{{1}}}]]  
| [[Organized by::+]]
}} {{#if: {{{start|}}} | [[Has date::>{{#time:Y/m/j|{{{start}}} }}]] }}
|?In language
|?In language
|?Has title
|?Has title

Revision as of 20:54, 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. Add a new event Template:Event ics

Events by Crew BW

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

Crew BW n'a pas encore organisé d'évènements. 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}}

Pirates de Liège n'a pas encore organisé d'évènements. 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}}

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