Difference between revisions of "Template:Calendar"

From ToorCamp Wiki
Jump to navigation Jump to search
ccc>Twi
m (41 revisions imported)
 
(37 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
Usage:
 
Usage:
 
  <nowiki>{{</nowiki>{{PAGENAME}}|<FILTER><nowiki>}}</nowiki>
 
  <nowiki>{{</nowiki>{{PAGENAME}}|<FILTER><nowiki>}}</nowiki>
 
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
+
{{#ask:[[Has object type::Event]]{{{1}}}
{{#ask: [[Has object type::Event]] {{1}}
+
| ?Has event title=Session
| ?Has event title=Event Title
 
 
| ?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=broadtable
 
}}
 
}}
 
{{Refresh}}
 
{{Refresh}}
 
<div class="cal-ical" style="text-align: right;">
 
{{#ask: [[Has object type::Event]] {{1}}
 
| ?Has event title = summary
 
| ?Has start time = start
 
| ?Has end time = end
 
| ?Has session location = location
 
| ?Has url=url
 
| ?Has description = description
 
| format=icalendar
 
| icalendartitle=Semantic
 
| searchlabel=Export this calendar as iCal
 
| limit=2342
 
}}
 
</div>
 
 
 
</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>}}