Difference between revisions of "Template:Calendar"

From ToorCamp Wiki
Jump to navigation Jump to search
ccc>Twi
ccc>Twi
Line 9: Line 9:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  
{{#ask: [[Has object type::Event]] {{{1}}}
+
{{#ask: [[Has object type::Event]] {{1}}
 
| ?Has event title=Event Title
 
| ?Has event title=Event Title
 
| ?Has start time=Start
 
| ?Has start time=Start
| ?Has duration#min=Duration
+
| ?Has duration=Duration
 
| ?Has session location=location
 
| ?Has session location=location
 
| mainlabel=Session
 
| mainlabel=Session
 
| limit=2342
 
| limit=2342
 
| sort=Has start time
 
| sort=Has start time
 +
| format=broadtable
 
}}
 
}}
 
{{Refresh}}
 
{{Refresh}}
  
 
<div class="cal-ical" style="text-align: right;">
 
<div class="cal-ical" style="text-align: right;">
{{#ask: [[Has object type::Event]] {{{1}}}
+
{{#ask: [[Has object type::Event]] {{1}}
 
| ?Has event title = summary
 
| ?Has event title = summary
 
| ?Has start time = start
 
| ?Has start time = start

Revision as of 16:22, 13 July 2019


This template adds a default calendar to the site using it.

Usage:

{{Calendar|<FILTER>}}