Difference between revisions of "Template:Calendar"

From 36C3 Wiki
 
Line 32: Line 32:
 
<div class="cal-calendar">
 
<div class="cal-calendar">
 
{{#if: {{#ask: [[Has object type::Event]] {{{1}}} }} | | This calendar has no events yet. }}
 
{{#if: {{#ask: [[Has object type::Event]] {{{1}}} }} | | This calendar has no events yet. }}
{{#ask: [[Has object type::Event]] {{{1}}}
+
{{#ask: [[Has object type::Event]] [[Has end time::+]] {{{1}}}
 
| ?Has event title=title
 
| ?Has event title=title
 
| ?Has start time=Start time
 
| ?Has start time=Start time

Latest revision as of 00:13, 26 December 2019


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

Usage:

{{Calendar|<FILTER>}}