Template:Event

From stencil.wiki
Revision as of 15:31, 31 August 2025 by Robertbaxter (talk | contribs)
Warning: Class template
This is the main template for the Event2 class—it should primarily be used with Form:Event2 to create or edit associated pages, and not invoked in other circumstances. Most of the content can be edited with the VisualEditor, but for best functionality please use the specified form.

Pages which use this template are listed at Category:Event2s.

TemplateData

The main template for the "Event" class (fairs, conferences, meetups, etc.). This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox event2).

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Event typeevent_type

Type of event (comma separated list)

Suggested values
Art Book Fair Comics Expo Conference Exhibition Meetup Zine Fest
Stringrequired
Statusstatus

The status of the event.

Suggested values
Active Inactive Paused
Stringsuggested
Short name/acronymshort_name

A shortened version of the event name (used to generate event names for recurring events, e.g. SABF 2024, SABF 2025).

Stringsuggested
Websitewebsite

An external link for the event.

URLoptional
Recurringrecurring

Whether or not this is a recurring event, or a one-off one.

Booleanrequired
Frequencyfrequency

How frequently the event occurs.

Suggested values
Once Annually Biennially Semiannually Monthly Weekly Abstract
Stringoptional
Citycity

The city of the event (used for sorting, not address display).

Stringoptional
State/provincestate_province

The state/province of the event (used for sorting, not address display).

Page nameoptional
Countrycountry

The country of the event (used for sorting, not address display).

Page namerequired
Flagflag

One or more flags from the import/parsing process—used to display specific mboxes on events of imported status (comma separated list).

Stringoptional