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]][[Has start time::~{{{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]][[Has start time::~{{{1}}}]]
 
  | ?=summary
 
  | ?=summary
 
  | ?Has start time=start
 
  | ?Has start time=start

Revision as of 16:20, 13 July 2019


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

Usage:

{{Calendar|<FILTER>}}