Pages which use this template are listed at Category:Events.
Template:Event: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) (Moving category assignment to Event/categories) |
||
Line 149: | Line 149: | ||
| websites = {{{websites|}}} | | websites = {{{websites|}}} | ||
| poster = {{{poster|}}} | | poster = {{{poster|}}} | ||
<!-- DEPRECATED FIELDS BELOW (NOW HELD IN SUBOBJECTS) --> | |||
| venue = {{{venue|}}} | | venue = {{{venue|}}} | ||
| location = {{{address|}}} | | location = {{{address|}}} | ||
Line 159: | Line 160: | ||
| application_deadline = {{{application_deadline|}}} <!-- DEPRECATED --> | | application_deadline = {{{application_deadline|}}} <!-- DEPRECATED --> | ||
| application_link = {{{application_link|}}} <!-- DEPRECATED --> | | application_link = {{{application_link|}}} <!-- DEPRECATED --> | ||
}}<!-- | }}<!-- | ||
--> | -->{{Event/upcoming}}<!-- | ||
--> | -->{{Event/categories}}<!-- | ||
{{ | |||
-->{{#set: | -->{{#set: | ||
Has event type = {{{event_type|}}} | Has event type = {{{event_type|}}} | ||
Line 193: | Line 168: | ||
| 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 venue = {{{venue|}}} | ||
| At location = {{{address|}}} | | At location = {{{address|}}} | ||
| At coordinates = {{{coordinates|}}} | | 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}}}}}|}} | ||
| Has application URL = {{{application_link|}}} | | Has application URL = {{{application_link|}}} | ||
| Has application deadline = {{{application_deadline|}}} | | Has application deadline = {{{application_deadline|}}} | ||
| Has end date = {{{end_date|}}} | | Has end date = {{{end_date|}}} | ||
| Has start date = {{{start_date|}}} | | Has start date = {{{start_date|}}} | ||
}}<!-- | }}{{{instances|}}}<!-- | ||
--></includeonly> | --></includeonly> |
Revision as of 18:12, 2 January 2025
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).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event type | event_type | Type of event.
| String | required |
Status | status | The status of the event.
| String | suggested |
Short name/acronym | short_name | A shortened version of the event name (used to generate event names for recurring events, e.g. SABF 2024, SABF 2025). | String | suggested |
Frequency | frequency | How frequently the event occurs.
| String | optional |
Websites | websites | A list of links for the event. | URL | optional |
Poster/image | poster | A key image or poster for the event. | File | optional |
Instances | instances | 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. | Content | optional |
Start Date | start_date | Start date of the event. | Date | optional |
End date | end_date | End date of the event. | Date | optional |
Venue | venue | The name of the venue (can link to a page if there is an associated location, otherwise appears as a red link). | Page name | optional |
Location | address | The address of the event (or main address if there are multiple). This can be a full street address or broader region. | String | optional |
City | city | The city of the event (used for sorting, not address display). | String | optional |
State/province | state_province | The state/province of the event (used for sorting, not address display). | String | optional |
Country | country | The country of the event (used for sorting, not address display). | Page name | required |
Coordinates | coordinates | The latitude and longitude coordinates of the space (optional, to support map display).
| String | suggested |
Application link | application_link | A link to the application form/process for the event. | URL | optional |
Application deadline | application_deadline | The deadline for application submissions. | Date | optional |