Template:Event: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 85: Line 85:
| status              = {{{status|}}}
| status              = {{{status|}}}
| frequency            = {{{frequency|}}}
| frequency            = {{{frequency|}}}
| years_held          = {{{years_held|}}}
| websites            = {{{websites|}}}
| websites            = {{{websites|}}}
| poster              = {{{poster|}}}
| poster              = {{{poster|}}}
| city                = {{{city|}}}
| state_province      = {{{state_province|}}}
| country              = {{{country|}}}
<!-- DEPRECATED FIELDS BELOW (NOW HELD IN SUBOBJECTS) -->
<!-- DEPRECATED FIELDS BELOW (NOW HELD IN SUBOBJECTS) -->
| venue                = {{{venue|}}}
| venue                = {{{venue|}}}
| location            = {{{address|}}}
| location            = {{{address|}}}
| city                = {{{city|}}}
| state_province      = {{{state_province|}}}
| country              = {{{country|}}}
| coordinates          = {{{coordinates|}}}
| coordinates          = {{{coordinates|}}}
| start_date          = {{{start_date|}}} <!-- DEPRECATED -->
| start_date          = {{{start_date|}}} <!-- DEPRECATED -->
Line 126: Line 127:
| Has short name          = {{{short_name|}}}
| Has short name          = {{{short_name|}}}
| Has frequency            = {{{frequency|}}}
| Has frequency            = {{{frequency|}}}
<!-- DEPRECATED FIELDS BELOW (NOW HELD IN SUBOBJECTS) -->
| At venue                = {{{venue|}}}
| At location              = {{{address|}}}
| At coordinates          = {{{coordinates|}}}
| In city                  = {{{city|}}}
| In city                  = {{{city|}}}
| In state/province        = {{{state_province|}}}
| In state/province        = {{{state_province|}}}
| In country              = {{{country|}}}
| In country              = {{{country|}}}
| In region                = {{#if:{{{country|}}}|{{CountryRegionMapping|country={{{country}}}}}|}}
| In region                = {{#if:{{{country|}}}|{{CountryRegionMapping|country={{{country}}}}}|}}
<!-- DEPRECATED FIELDS BELOW (NOW HELD IN SUBOBJECTS) -->
| At coordinates          = {{{coordinates|}}}
| Has application URL      = {{{application_link|}}}
| Has application URL      = {{{application_link|}}}
| Has application deadline = {{{application_deadline|}}}
| Has application deadline = {{{application_deadline|}}}

Latest revision as of 11:16, 20 January 2025

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.

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