Template:ExportEvent: Difference between revisions

From Pirate Party Belgium
Jump to navigation Jump to search
m (fixes for SMW 3.0)
(add RSS feed format)
Line 27: Line 27:
| ?Has url = description
| ?Has url = description
| ?Has url = url
| ?Has url = url
| format = icalendar
| format = {{{format|icalendar}}}
| searchlabel = {{{text|iCalendar}}}
| searchlabel = {{{text|iCalendar}}}
| sort = Has date
| sort = Has date
Line 42: Line 42:
| text = iCalendar
| text = iCalendar
| limit = 10
| limit = 10
| format = icalendar
}}</nowiki>
}}</nowiki>


Line 69: Line 70:


{{ExportEvent|date=now}}
{{ExportEvent|date=now}}
=== Export all events as RSS feed ===
<nowiki>{{ExportEvent|format=feed|text=RSS feed}}</nowiki>
{{ExportEvent|format=feed|text=RSS feed}}
</noinclude>
</noinclude>

Revision as of 10:45, 6 March 2019

Usage

{{ExportEvent|Some event
| type = Meeting <!-- External / PirateDrink / Meeting -->
| workgroup = An awesome team
| date = 2017/05/25
| text = iCalendar
| limit = 10
| format = icalendar
}}

Example

Export all meetings

{{ExportEvent|type=Meeting}}

iCalendar

Export one event

{{ExportEvent|WikiSquad/Meeting/23 09 2017}}

iCalendar

Export external events of Pirates de Liège

{{ExportEvent|type=External|workgroup=Pirates de Liège}}

iCalendar

Export all events, indicate the date of export

{{ExportEvent|date=now}}

iCalendar

Export all events as RSS feed

{{ExportEvent|format=feed|text=RSS feed}}

RSS feed