Difference between revisions of "Template:ExportEvent"
Line 1: | Line 1: | ||
− | <includeonly>{{#ask: {{#if: {{{1|}}} | + | <includeonly>{{#ask: |
+ | {{#if: {{{1|}}} | ||
| [[Has page::{{{1}}}]] [[Has event type::+]] | | [[Has page::{{{1}}}]] [[Has event type::+]] | ||
| {{#if: {{{type|}}} | | {{#if: {{{type|}}} | ||
| [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]] | | [[Has event type::{{#arraymap:{{{type}}}|,|x|x|{{!}}{{!}}}}]] | ||
| [[Has event type::+]] | | [[Has event type::+]] | ||
− | }} {{#if: {{{workgroup|}}} | + | }} {{#if: {{{workgroup|}}} | [[Organized by::{{#arraymap:{{{workgroup}}}|,|x|x|{{!}}{{!}}}}]] }} |
− | |||
− | |||
− | |||
}} | }} | ||
− | | ?Has title=title | + | | ?Has title = title |
− | | ?Has title=summary | + | | ?Has title = summary |
− | | ?Has date=start | + | | ?Has date = start |
− | | ?Has date=end | + | | ?Has date = end |
− | | ?Has location=location | + | | ?Has location = location |
− | | ?Has url=description | + | | ?Has url = description |
− | | ?Has url=url | + | | ?Has url = url |
− | | format=icalendar | + | | format = icalendar |
− | | title={{# | + | | title = {{#ifeq: {{{workgroup|+}}} | + |
− | | {{{workgroup}}} {{#if: {{{date|}}} | + | | |
− | + | | {{{workgroup}}} {{#if: {{{date|}}} | - {{#time:d m Y|{{{date}}}}} }} | |
− | |||
− | |||
}} | }} | ||
− | | searchlabel={{{text|iCalendar}}} | + | | searchlabel = {{{text|iCalendar}}} |
− | | sort=Has date | + | | sort = Has date |
− | | order=desc | + | | order = desc |
− | | limit={{{limit|10}}} | + | | limit = {{{limit|10}}} |
}}</includeonly> | }}</includeonly> |