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 38: | Line 38: | ||
}, | }, | ||
"address": { | "address": { | ||
"label": " | "label": "Location", | ||
"description": "The address of the event (or main address if there are multiple). This | "description": "The address of the event (or main address if there are multiple). This can be a full street address or broader region.", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"city": { | "city": { | ||
"label": "City", | "label": "City", | ||
"description": "The city of the event.", | "description": "The city of the event (used for sorting, not address display).", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"country": { | "country": { | ||
"label": "Country", | "label": "Country", | ||
"description": "The country of the event.", | "description": "The country of the event (used for sorting, not address display).", | ||
"type": " | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 74: | Line 74: | ||
"description": "A key image or poster for the event.", | "description": "A key image or poster for the event.", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "The status of the event.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Active", | |||
"Inactive", | |||
"Paused" | |||
], | |||
"suggested": true | |||
}, | |||
"state_province": { | |||
"label": "State/province", | |||
"description": "The state/province of the event (used for sorting, not address display).", | |||
"type": "string" | |||
}, | |||
"frequency": { | |||
"label": "Frequency", | |||
"description": "How frequently the event occurs.", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Once", | |||
"Annually", | |||
"Biennially", | |||
"Semiannually", | |||
"Monthly", | |||
"Weekly", | |||
"Abstract" | |||
] | |||
}, | |||
"instances": { | |||
"label": "Instances", | |||
"description": "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.", | |||
"type": "content" | |||
} | } | ||
}, | }, | ||
"description": "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).", | "description": "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).", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"event_type", | |||
"status", | |||
"frequency", | |||
"websites", | |||
"poster", | |||
"instances", | |||
"start_date", | |||
"end_date", | |||
"venue", | |||
"address", | |||
"city", | |||
"state_province", | |||
"country", | |||
"coordinates", | |||
"application_link", | |||
"application_deadline" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
Line 108: | Line 161: | ||
}}--> | }}--> | ||
}}<!-- | }}<!-- | ||
-->{{{ | -->{{{instances|}}}<!-- | ||
-->[[Category:Events]] | -->[[Category:Events]] | ||
{{#if:{{{event_type|}}}| | {{#if:{{{event_type|}}}| |
Revision as of 23:43, 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 |
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). 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 |