Pages which use this template are listed at Category:Event2s.
Template:Event: Difference between revisions
| Robertbaxter (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 18: | Line 18: | ||
| 			"required": true | 			"required": true | ||
| 		}, | 		}, | ||
| 		" | 		"website": { | ||
| 			"label": " | 			"label": "Website", | ||
| 			"description": " | 			"description": "An external link for the event.", | ||
| 			"type": "url" | 			"type": "url" | ||
| 		}, | 		}, | ||
| Line 44: | Line 44: | ||
| 			"type": "string", | 			"type": "string", | ||
| 			"suggested": true | 			"suggested": true | ||
| 		}, | |||
| 		"frequency": { | |||
| 			"label": "Frequency", | |||
| 			"description": "How frequently the event occurs.", | |||
| 			"type": "string", | |||
| 			"suggestedvalues": [ | |||
| 				"Once", | |||
| 				"Annually", | |||
| 				"Biennially", | |||
| 				"Semiannually", | |||
| 				"Monthly", | |||
| 				"Weekly", | |||
| 				"Abstract" | |||
| 			] | |||
| 		}, | |||
| 		"recurring": {}, | |||
| 		"website": {}, | |||
| 		"city": { | |||
| 			"label": "City", | |||
| 			"description": "The city of the event (used for sorting, not address display).", | |||
| 			"type": "string" | |||
| 		}, | |||
| 		"state_province": { | |||
| 			"label": "State/province", | |||
| 			"description": "The state/province of the event (used for sorting, not address display).", | |||
| 			"type": "wiki-page-name" | |||
| 		}, | |||
| 		"country": { | |||
| 			"label": "Country", | |||
| 			"description": "The country of the event (used for sorting, not address display).", | |||
| 			"type": "wiki-page-name", | |||
| 			"required": true | |||
| 		} | 		} | ||
| 	}, | 	}, | ||
| Line 52: | Line 84: | ||
| 		"status", | 		"status", | ||
| 		"short_name", | 		"short_name", | ||
| 		" | 		"website", | ||
| 		"poster" | 		"poster", | ||
| 		"recurring", | |||
| 		"frequency", | |||
| 		"city", | |||
| 		"state_province", | |||
| 		"country" | |||
| 	] | 	] | ||
| } | } | ||
| Line 66: | Line 103: | ||
| | recurring            = {{{recurring|}}} | | recurring            = {{{recurring|}}} | ||
| | frequency            = {{{frequency|}}} | | frequency            = {{{frequency|}}} | ||
| | website              = {{{website|}}} | | website              = {{{website|}}} | ||
| | city                 = {{{city|}}} | | city                 = {{{city|}}} | ||
| Line 103: | Line 139: | ||
| | In country               = {{{country|}}} | | In country               = {{{country|}}} | ||
| | In region                = {{#if:{{{country|}}}|{{CountryRegionMapping|country={{{country}}}}}|}} | | In region                = {{#if:{{{country|}}}|{{CountryRegionMapping|country={{{country}}}}}|}} | ||
| }} | }}</includeonly> | ||
Revision as of 14:54, 31 August 2025
TemplateData
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 | 
| website | website | no description | Unknown | optional | 
| Poster/image | poster | A key image or poster for the event. | File | optional | 
| recurring | recurring | no description | Unknown | optional | 
| Frequency | frequency | How frequently the event occurs. 
 | 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). | Page name | optional | 
| Country | country | The country of the event (used for sorting, not address display). | Page name | required |