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 84: | Line 84: | ||
-->{{Infobox event | -->{{Infobox event | ||
| title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
| event_type = {{ | | event_type = {{{event_type|}}} | ||
| status = {{{status|}}} | |||
| frequency = {{{status|}}} | |||
| websites = {{{websites|}}} | | websites = {{{websites|}}} | ||
| | | poster = {{{poster|}}} | ||
| venue = {{{venue|}}} | | venue = {{{venue|}}} | ||
| location = {{{address|}}} | | location = {{{address|}}} | ||
| city = {{{city|}}} | | city = {{{city|}}} | ||
Line 103: | Line 97: | ||
| application_link = {{{application_link|}}} | | application_link = {{{application_link|}}} | ||
| application_deadline = {{{application_deadline|}}} | | application_deadline = {{{application_deadline|}}} | ||
| | | start_date = {{{start_date|}}} <!-- DEPRECATED --> | ||
| end_date = {{{end_date|}}} <!-- DEPRECATED --> | |||
<!--| event_type = {{#arraymap:{{{event_type|}}}|,|x|[[event_type::x]]}}--> | |||
<!--| address = {{#if:{{{address|}}} | |||
| {{{address}}}{{#if:{{{city|}}}|, {{{city}}}}}{{#if:{{{country|}}}|, {{{country}}}}} | |||
| {{#if:{{{city|}}} | |||
| {{{city}}}{{#if:{{{country|}}}|, {{{country}}}}} | |||
| {{{country|}}} | |||
}} | |||
}}--> | |||
}}<!-- | }}<!-- | ||
-->{{{people|}}}<!-- | |||
-->[[Category:Events]] | -->[[Category:Events]] | ||
{{#if:{{{event_type|}}}| | {{#if:{{{event_type|}}}| | ||
Line 111: | Line 115: | ||
<!-- General Place Type --> | <!-- General Place Type --> | ||
[[Category:{{#switch:{{lc:x}} | [[Category:{{#switch:{{lc:x}} | ||
| art book fair = Art | | art book fair = Art book fairs | ||
| class = Classes | | class = Classes | ||
| exhibition = Exhibitions | | exhibition = Exhibitions | ||
| zine fest = Zine | | zine fest = Zine fests | ||
| meetup = Meetups | |||
| comics expo = Comics expos | |||
| #default = {{ucfirst:x}}s | | #default = {{ucfirst:x}}s | ||
}}]] | }}]] | ||
Line 143: | Line 149: | ||
-->{{#set: | -->{{#set: | ||
Has event type = {{{event_type|}}} | Has event type = {{{event_type|}}} | ||
| Has status = {{{status|}}} | |||
| Has frequency = {{{frequency|}}} | |||
| At venue = {{{venue|}}} | | At venue = {{{venue|}}} | ||
| Has address = {{#if:{{{address|}}} | <!-- | Has address = {{#if:{{{address|}}} | ||
| {{{address}}}{{#if:{{{city|}}}|, {{{city}}}}}{{#if:{{{country|}}}|, {{{country}}}}} | | {{{address}}}{{#if:{{{city|}}}|, {{{city}}}}}{{#if:{{{country|}}}|, {{{country}}}}} | ||
| {{#if:{{{city|}}} | | {{#if:{{{city|}}} | ||
Line 150: | Line 158: | ||
| {{{country|}}} | | {{{country|}}} | ||
}} | }} | ||
}} | }} --> | ||
| 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 link = {{{application_link|}}} | |||
| Has application deadline = {{{application_deadline|}}} | |||
| Has end date = {{{end_date|}}} <!-- DEPRECATED --> | |||
| Has start date = {{{start_date|}}} <!-- DEPRECATED --> | |||
}}<!-- | |||
--></includeonly> | --></includeonly> |
Revision as of 23:37, 19 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 |
Websites | websites | A list of links for the event. | URL | 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 |
Address | address | The address of the event (or main address if there are multiple). This should be a full street address. | String | optional |
City | city | The city of the event. | String | optional |
Country | country | The country of the event. | String | required |
Coordinates | coordinates | The latitude and longitude coordinates of the space (optional, to support map display). Formatted with a comma, no space.
| 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 |
Poster/image | poster | A key image or poster for the event. | File | optional |