Template:Events: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 20: Line 20:
|link=none
|link=none
|limit={{{limit|10}}}
|limit={{{limit|10}}}
|introtemplate={{#ifeq: {{{1|+}}} | +  
|introtemplate={{#switch: {{{format|}}}
  | {{#switch: {{{type|}}}
  | list =
    | Meeting = Table meeting organized intro  
  | {{#ifeq: {{{1|+}}} | +  
    | Table event organized intro
    | {{#switch: {{{type|}}}
    }}
      | Meeting = Table meeting organized intro  
  | {{#switch: {{{type|}}}
      | Table event organized intro
    | Meeting = Table meeting intro
      }}
    | Table event intro  
    | {{#switch: {{{type|}}}
      | Meeting = Table meeting intro
      | Table event intro  
      }}
     }}
     }}
   }}
   }}
Line 34: Line 37:
   | {{#ifeq: {{{1|+}}} | + | Table event organized | Table event }}
   | {{#ifeq: {{{1|+}}} | + | Table event organized | Table event }}
   }}
   }}
|outrotemplate=Table outro
|outrotemplate={{#switch: {{{format|}}}
  | list =
  | Table outro
  }}
|sep={{#switch: {{{format|}}}  
|sep={{#switch: {{{format|}}}  
   | list = <hr />
   | list = <hr />

Revision as of 22:47, 28 February 2017

Usage

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

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

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