Difference between revisions of "Template:ExportEvent"
m |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
| [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]] | | [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]] | ||
| [[Has event type::+]] | | [[Has event type::+]] | ||
− | }} {{#if: {{{workgroup|}}} | [[Organized by::{{#arraymap:{{{workgroup}}}|,|x|x|{{!}}{{!}}}}]] }} | + | }} {{#if: {{{workgroup|}}} |
+ | | [[Organized by::{{#arraymap:{{{workgroup}}}|,|x|x|{{!}}{{!}} }}{{#ask: [[Category:Project]] [[Organized by::{{#arraymap:{{{workgroup}}}|,|x|x|{{!}}{{!}} }}]] | ||
+ | | intro = {{!}}{{!}} | ||
+ | | link = none | ||
+ | | sep = {{!}}{{!}} | ||
+ | }}]] OR {{#if: {{{type|}}} | ||
+ | | [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]] | ||
+ | | [[Has event type::+]] | ||
+ | }} [[In topic::{{#arraymap:{{{workgroup}}}|,|x|x|{{!}}{{!}} }}{{#ask: [[Category:Topic]] [[Has parent::{{#arraymap:{{{workgroup}}}|,|x|x|{{!}}{{!}} }}]] | ||
+ | | intro = {{!}}{{!}} | ||
+ | | link = none | ||
+ | | sep = {{!}}{{!}} | ||
+ | }}]] | ||
+ | }} | ||
}} | }} | ||
| ?Has title = title | | ?Has title = title | ||
| ?Has title = summary | | ?Has title = summary | ||
| ?Has date = start | | ?Has date = start | ||
− | | ?Has date = end | + | | ?Has end date = end |
| ?Has location = location | | ?Has location = location | ||
| ?Has url = description | | ?Has url = description | ||
| ?Has url = url | | ?Has url = url | ||
| format = icalendar | | format = icalendar | ||
− | |||
− | |||
− | |||
− | |||
| searchlabel = {{{text|iCalendar}}} | | searchlabel = {{{text|iCalendar}}} | ||
| sort = Has date | | sort = Has date | ||
| order = desc | | order = desc | ||
| limit = {{{limit|10}}} | | limit = {{{limit|10}}} | ||
− | }}</includeonly> | + | | timezone = Europe/Brussels |
+ | }}</includeonly><noinclude> | ||
+ | == Usage == | ||
+ | <!-- External / PirateDrink / Meeting --> | ||
+ | <nowiki>{{ExportEvent|Some event | ||
+ | | type = Meeting <!-- External / PirateDrink / Meeting --> | ||
+ | | workgroup = An awesome team | ||
+ | | date = 2017/05/25 | ||
+ | | text = iCalendar | ||
+ | | limit = 10 | ||
+ | }}</nowiki> | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | === Export all [[:Category:Meeting|meetings]] === | ||
+ | |||
+ | <nowiki>{{ExportEvent|type=Meeting}}</nowiki> | ||
+ | |||
+ | {{ExportEvent|type=Meeting}} | ||
+ | |||
+ | === Export one event === | ||
+ | |||
+ | <nowiki>{{ExportEvent|WikiSquad/Meeting/23 09 2017}}</nowiki> | ||
+ | |||
+ | {{ExportEvent|WikiSquad/Meeting/23 09 2017}} | ||
+ | |||
+ | === Export external events of [[Pirates de Liège]] === | ||
+ | |||
+ | <nowiki>{{ExportEvent|type=External|workgroup=Pirates de Liège}}</nowiki> | ||
+ | |||
+ | {{ExportEvent|type=External|workgroup=Pirates de Liège}} | ||
+ | |||
+ | === Export all events, indicate the date of export === | ||
+ | |||
+ | <nowiki>{{ExportEvent|date=now}}</nowiki> | ||
+ | |||
+ | {{ExportEvent|date=now}} | ||
+ | </noinclude> |
Latest revision as of 11:59, 6 March 2019
Contents
Usage
{{ExportEvent|Some event | type = Meeting <!-- External / PirateDrink / Meeting --> | workgroup = An awesome team | date = 2017/05/25 | text = iCalendar | limit = 10 }}
Example
Export all meetings
{{ExportEvent|type=Meeting}}
Export one event
{{ExportEvent|WikiSquad/Meeting/23 09 2017}}
Export external events of Pirates de Liège
{{ExportEvent|type=External|workgroup=Pirates de Liège}}
Export all events, indicate the date of export
{{ExportEvent|date=now}}