Template:Event calendar: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
This template displays any ''calendar entries'' defined on the [[:Category:Events]] page it is included within (all ''Events'' pages should end with this template)—these are defined with the [[Form:Event]] form and declared in [[Template:Calendar entry]] templates. The data must be stored as semantic <code>#subobject @category=Calendar entries</code> via <code>#set</code> on the page.</noinclude><!--
This template displays any ''calendar entries'' defined on the [[:Category:Events]] page it is included within (all ''Events'' pages should end with this template)—these are defined with the [[Form:Event]] form and declared in [[Template:Calendar entry]] templates. The data must be stored as semantic <code>#subobject @category=Calendar entries</code> via <code>#set</code> on the page.</noinclude><!--
--><includeonly><!--
--><includeonly><!--
-->{{#ask:
-->{{clear float}}
== Event list ==
 
{{#ask:
  [[Category:Calendar entries]]
  [[Category:Calendar entries]]
  [[-Has subobject::{{FULLPAGENAME}}]]
  [[-Has subobject::{{FULLPAGENAME}}]]
Line 15: Line 18:
  |?Has application deadline=application_deadline
  |?Has application deadline=application_deadline
  |?Has application URL=application_link
  |?Has application URL=application_link
|?Has parent=parent
|?Has URL=website
  |format=plainlist
  |format=plainlist
  |introtemplate=Event table/header
  |introtemplate=Event table/header
Line 22: Line 27:
  |mainlabel=Event
  |mainlabel=Event
  |sort=Has start date
  |sort=Has start date
  |order=ascending
  |order=descending
  |named args=yes
  |named args=yes
  |searchlabel=View more events
  |searchlabel=View more events

Latest revision as of 09:32, 8 September 2025

This is a semantic display template, it takes no properties of its own.

This template displays any calendar entries defined on the Category:Events page it is included within (all Events pages should end with this template)—these are defined with the Form:Event form and declared in Template:Calendar entry templates. The data must be stored as semantic #subobject @category=Calendar entries via #set on the page.