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: [[Has event type::{{#if: {{{type|}}}  
<includeonly>{{#ask: {{#if: {{{type|}}}  
   | {{{type}}}
   | [[Has event type::{{{type}}}]]
   | Event
   | [[Has event type::Event]]
   }}]] {{#ifeq: {{{1|+}}} | +
   }} {{#ifeq: {{{1|+}}} | +
   | [[Organized by::+]]
   | [[Organized by::+]]
   | [[Organized by::{{{1}}}]]  
   | [[Organized by::{{{1}}}]]  

Revision as of 22:54, 7 March 2017

Usage

{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page|format=table|formlink=true|export=true|more=true}}

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|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|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|format=list|start=now|preload=Template:EmptyPirateLab/Preload}}

There is no meeting for Pirate Lab.


Add a new meeting
Template:Event ics