Pages which use this template are listed at Category:Simple events.
Template:Simple event: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 33: | Line 33: | ||
"description": "A list of the instances of the event. These are implemented with Template:Event/instance—please use the page form Form:Simple event to edit them.", | "description": "A list of the instances of the event. These are implemented with Template:Event/instance—please use the page form Form:Simple event to edit them.", | ||
"type": "content" | "type": "content" | ||
}, | |||
"city": { | |||
"label": "City" | |||
}, | |||
"state_province": { | |||
"label": "State/province" | |||
}, | |||
"country": { | |||
"label": "Country" | |||
} | } | ||
}, | }, | ||
Line 40: | Line 49: | ||
"event_type", | "event_type", | ||
"status", | "status", | ||
"instances" | "instances", | ||
"city", | |||
"state_province", | |||
"country" | |||
] | ] | ||
} | } | ||
Line 46: | Line 58: | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly><!-- | --><includeonly><!-- | ||
-->{{#set: | -->{{#set: | ||
Has event type = {{{event_type|}}} | Has name = {{{name|}}} | ||
| Has event type = {{{event_type|}}} | |||
| Has status = {{{status|}}} | | Has status = {{{status|}}} | ||
| Has URL = {{{website|}}} | |||
| Has start date = {{{start_date|}}} | |||
| Has end date = {{{end_date|{{{start_date|}}}}}} | |||
| 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}}}}}|}} | ||
}} | }}</includeonly> | ||
Latest revision as of 16:12, 13 August 2025
TemplateData
The main template for the "Simple event" class (fairs, conferences, meetups, etc.). This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox simple event). This is a simplified test to replace the "Event" class which only handles data that is imported from the old wiki.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Event type | event_type | Type of event.
| String | required |
Status | status | The status of the event.
| String | suggested |
Instances | instances | A list of the instances of the event. These are implemented with Template:Event/instance—please use the page form Form:Simple event to edit them. | Content | optional |
City | city | no description | Unknown | optional |
State/province | state_province | no description | Unknown | optional |
Country | country | no description | Unknown | optional |