Pages which use this template are listed at Category:Events.
Template:Event: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 136: | Line 136: | ||
--><includeonly><!-- | --><includeonly><!-- | ||
-->{{Infobox event | -->{{Infobox event | ||
| title | | title = {{PAGENAME}} | ||
| event_type | | event_type = {{{event_type|}}} | ||
| status | | status = {{{status|}}} | ||
| frequency | | frequency = {{{frequency|}}} | ||
| websites | | websites = {{{websites|}}} | ||
| poster | | poster = {{{poster|}}} | ||
| venue | | venue = {{{venue|}}} | ||
| location | | location = {{{address|}}} | ||
| city | | city = {{{city|}}} | ||
| state_province = {{{state_province|}}} | | state_province = {{{state_province|}}} | ||
| country | | country = {{{country|}}} | ||
| coordinates | | coordinates = {{{coordinates|}}} | ||
| start_date | | start_date = {{{start_date|}}} <!-- DEPRECATED --> | ||
| end_date | | end_date = {{{end_date|}}} <!-- DEPRECATED --> | ||
<!--| event_type = {{#arraymap:{{{event_type|}}}|,|x|[[event_type::x]]}} --> | | application_deadline = {{{application_deadline|}}} <!-- DEPRECATED --> | ||
<!--| address | | application_link = {{{application_link|}}} <!-- DEPRECATED --> | ||
<!--| event_type = {{#arraymap:{{{event_type|}}}|,|x|[[event_type::x]]}} --> | |||
<!--| address = {{#if:{{{address|}}} | |||
| {{{address}}}{{#if:{{{city|}}}|, {{{city}}}}}{{#if:{{{country|}}}|, {{{country}}}}} | | {{{address}}}{{#if:{{{city|}}}|, {{{city}}}}}{{#if:{{{country|}}}|, {{{country}}}}} | ||
| {{#if:{{{city|}}} | | {{#if:{{{city|}}} |
Revision as of 05:04, 20 December 2024
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 |
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 |