Template:Events: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
|?In postal code# | |?In postal code# | ||
|?Organized by# | |?Organized by# | ||
|format=template | |format={{#switch: {{{format|}}} | ||
| list = list | |||
| template | |||
}} | |||
|link=none | |link=none | ||
|limit={{{limit|10}}} | |limit={{{limit|10}}} | ||
Line 27: | Line 30: | ||
}} | }} | ||
}} | }} | ||
|template={{#ifeq: {{{1|+}}} | + | Table event organized | Table event }} | |template={{#switch: {{{format|}}} | ||
| list = Event item | |||
| {{#ifeq: {{{1|+}}} | + | Table event organized | Table event }} | |||
}} | |||
|outrotemplate=Table outro | |outrotemplate=Table outro | ||
|sep=, | |sep={{#switch: {{{format|}}} | ||
| list = <hr /> | |||
| , | |||
}} | |||
|sort = Has date | |sort = Has date | ||
|order = {{{order|desc}}} | |order = {{{order|desc}}} | ||
Line 52: | Line 61: | ||
== Usage == | == Usage == | ||
<nowiki>{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page}}</nowiki> | <nowiki>{{Events|An awesome crew|type=Event|start=now|order=desc|limit=10|preload=page|format=table}}</nowiki> | ||
== Examples == | == Examples == |
Revision as of 22:41, 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