Template:Event calendar: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| (5 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= |   |order=descending | ||
|   |named args=yes |   |named args=yes | ||
|   |searchlabel=View more events |   |searchlabel=View more events | ||
| Line 28: | Line 33: | ||
|   |limit=25 |   |limit=25 | ||
|   |cache=300 |   |cache=300 | ||
| }} | }}<!-- | ||
| </includeonly> | --></includeonly> | ||
Latest revision as of 09:32, 8 September 2025
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.