Template:Event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 159: Line 159:
     }} -->
     }} -->
}}<!--
}}<!--
-->{{instances}}<!--
-->{{{instances|}}}<!--
-->[[Category:Events]]
-->[[Category:Events]]
{{#if:{{{event_type|}}}|
{{#if:{{{event_type|}}}|

Revision as of 04:42, 20 December 2024

Warning: Class template
This is the main template for the Event class—it should primarily be used with Form:Event 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:Events.

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 event).

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Event typeevent_type

Type of event.

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
Frequencyfrequency

How frequently the event occurs.

Suggested values
Once Annually Biennially Semiannually Monthly Weekly Abstract
Stringoptional
Websiteswebsites

A list of links for the event.

URLoptional
Poster/imageposter

A key image or poster for the event.

Fileoptional
Instancesinstances

A list of the instances of the event. These are implemented with Template:Event/instance—please use the page form Form:Event to edit them.

Contentoptional
Start Datestart_date

Start date of the event.

Dateoptional
End dateend_date

End date of the event.

Dateoptional
Venuevenue

The name of the venue (can link to a page if there is an associated location, otherwise appears as a red link).

Page nameoptional
Locationaddress

The address of the event (or main address if there are multiple). This can be a full street address or broader region.

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).

Stringoptional
Countrycountry

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

Page namerequired
Coordinatescoordinates

The latitude and longitude coordinates of the space (optional, to support map display).

Example
47.621937, -122.351746
Stringsuggested
Application linkapplication_link

A link to the application form/process for the event.

URLoptional
Application deadlineapplication_deadline

The deadline for application submissions.

Dateoptional