Difference between revisions of "Template:Calendar"

From ToorCamp Wiki
Jump to navigation Jump to search
ccc>Twi
m (41 revisions imported)
 
(17 intermediate revisions by one other user not shown)
Line 7: Line 7:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#ask:[[Has object type::Event]][[Has start time::~{{{1}}}]]
+
{{#ask:[[Has object type::Event]]{{{1}}}
 +
| ?Has event title=Session
 
| ?Has start time=Start
 
| ?Has start time=Start
 
| ?Has duration=Duration
 
| ?Has duration=Duration
 
| ?Has session location=Location
 
| ?Has session location=Location
| mainlabel=Session
+
| mainlabel=Has event title
 
| limit=2342
 
| limit=2342
 
| sort=Has start time
 
| sort=Has start time
| format=icalendar
+
| format=broadtable
 
}}
 
}}
<div class="cal-ical" style="text-align: right;">
 
{{#ask:[[Has object type::Event]][[Has start time::~{{{1}}}]]
 
| ?=summary
 
| ?Has start time=start
 
| ?Has end time=end
 
| ?Has location=location
 
| ?Has description=description
 
| limit=2342
 
 | offset=0
 
| format=icalendar
 
| searchlabel=Export for iCalendar
 
| title=CCCamp 19
 
| description=CCCamp 19
 
}}
 
</div>
 
 
{{Refresh}}
 
{{Refresh}}
 
</includeonly>
 
</includeonly>

Latest revision as of 07:39, 4 March 2020


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

Usage:

{{Calendar|<FILTER>}}