Template:Past events

From AnOtherWiki, the free encyclopedia written by, for, and about the Otherkin community.

Renders a table of an event's PAST occurrences, with the dates computed from its recurrence rule (read from the {{Infobox event}} on the same page). You supply only the hand-written cells. Place it below the infobox.

Simplest form

{{Past events
| 2024 = Record turnout; moved to the new site. [[Walking the Thresholds/2024|Full write-up]]
| 2023 = Rained out Sunday but spirits stayed high.
}}

Every past occurrence appears (years without a note show the date only), newest first.

Extra columns

Declare them with columns as key=Label pairs separated by semicolons (not commas — labels often contain commas). Then fill each cell with a |YEAR-key= parameter:

{{Past events
| columns = theme=Theme; attendance=Attendance
| 2024-theme      = Prehistoric
| 2024-attendance = 426
| 2024            = A note, as usual.
}}

Extra columns are placed between the Dates column and the Notes column, in the order declared. A column with no = uses its own text as both key and label.

For an event that meets more than once a year, key the cell by the occurrence's ISO start date instead — |2024-08-09-theme=. The dated key wins over the bare year key.

Layout options

Parameter Default Effect
columns none extra columns, key=Label; key2=Label 2
numbered no prepend a # column. 1 is always the earliest occurrence, whichever way the table is ordered.
year yes no drops the Year column (useful when the Dates column already shows the year)
dates Dates header for the dates column; no drops the column
notes Notes header for the notes column; no drops the column
order newest oldest puts the first occurrence at the top
sortable yes no for a plain wikitable. The Dates column sorts chronologically rather than alphabetically by month name (each date cell carries an ISO data-sort-value); the Notes column is never sortable.
caption Past occurrences table caption; no for none
class, style override the table's class= / style= outright

Supplying a rule directly

Normally the recurrence rule comes from the page's {{Infobox event}}. Every rule field can also be passed explicitly — freq, interval, weekdays, weekpos, monthday, month, alternate, startday, span, start, offset, exclude, move, include, until — which is what Template:Past events/testcases does. An explicit value overrides the infobox.

The Year column auto-links to a <event page>/<year> write-up when that page exists; pair those pages with {{Event year header}}.