Difference between pages "MediaWiki:Smw import owl" and "Template:Calendar"
(Difference between pages)
Jump to navigation
Jump to search
(Semantic MediaWiki default vocabulary import) |
ccc>Twi |
||
Line 1: | Line 1: | ||
− | + | <noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | [[ | + | This template adds a default calendar to the site using it. |
+ | |||
+ | Usage: | ||
+ | <nowiki>{{</nowiki>{{PAGENAME}}|<FILTER><nowiki>}}</nowiki> | ||
+ | |||
+ | |||
+ | </noinclude><includeonly> | ||
+ | |||
+ | {{#ask: [[Has object type::Event]] {{{1}}} | ||
+ | | ?Has start time=Start | ||
+ | | ?Has duration=Duration | ||
+ | | ?Has session location=Location | ||
+ | | mainlabel=Session | ||
+ | | limit=2342 | ||
+ | | sort=Has start time | ||
+ | | format=broadtable | ||
+ | }} | ||
+ | {{Refresh}} | ||
+ | |||
+ | <div class="cal-ical" style="text-align: right;"> | ||
+ | {{#ask: [[Has object type::Event]] {{{1}}} | ||
+ | | ?=summary | ||
+ | | ?Has start time=start | ||
+ | | ?Has end time=end | ||
+ | | ?Has location=location | ||
+ | | ?Has description=description | ||
+ | | limit=2342 | ||
+ | | format=icalendar | ||
+ | | searchlabel=Export for iCalendar | ||
+ | }} | ||
+ | </div> | ||
+ | |||
+ | </includeonly> |
Revision as of 16:56, 13 July 2019
This template adds a default calendar to the site using it.
Usage:
{{Calendar|<FILTER>}}