Difference between revisions of "Template:Calendar"

From ToorCamp Wiki
Jump to navigation Jump to search
ccc>Twi
ccc>Twi
Line 7: Line 7:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{{#ask: [[Has object type::Event]] {{{1}}}
+
{{#ask:[[Has object type::Event]]{{{1}}}
 
| ?Has start time=Start
 
| ?Has start time=Start
 
| ?Has duration=Duration
 
| ?Has duration=Duration
Line 17: Line 17:
 
}}
 
}}
 
<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}}}
 
  | ?=summary
 
  | ?=summary
 
  | ?Has start time=start
 
  | ?Has start time=start
Line 24: Line 24:
 
  | ?Has description=description
 
  | ?Has description=description
 
  | limit=2342
 
  | limit=2342
 +
 | offset=0
 
  | format=icalendar
 
  | format=icalendar
 
  | searchlabel=Export for iCalendar
 
  | searchlabel=Export for iCalendar
  | link=all
+
  | title=CCCamp 19
  | headers=show
+
  | description=CCCamp 19
 
}}
 
}}
 
</div>
 
</div>
 
{{Refresh}}
 
{{Refresh}}
 
</includeonly>
 
</includeonly>

Revision as of 16:13, 13 July 2019


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

Usage:

{{Calendar|<FILTER>}}