Pages which use this template are listed at Category:Simple events.
Template:Simple event: Difference between revisions
Robertbaxter (talk | contribs) (Created page with "<noinclude>{{Class template|class=Event|category=Events}} == TemplateData == <templatedata> { "params": { "event_type": { "label": "Event type", "description": "Type of event.", "type": "string", "suggestedvalues": [ "Art Book Fair", "Comics Expo", "Conference", "Exhibition", "Meetup", "Zine Fest" ], "required": true }, "status": { "label": "Status", "description": "The status of the event.", "type": "string",...") |
Robertbaxter (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Class template|class= | <noinclude>{{Class template|class=Simple event|category=Simple events}} | ||
== TemplateData == | == TemplateData == | ||
<templatedata> | <templatedata> | ||
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" | |||
} | } | ||
}, | }, | ||
"description": "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).", | "description": "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.", | ||
"format": "block", | "format": "block", | ||
"paramOrder": [ | "paramOrder": [ | ||
"event_type", | "event_type", | ||
"status", | "status", | ||
"instances" | "instances", | ||
"city", | |||
"state_province", | |||
"country" | |||
] | ] | ||
} | } | ||
Line 54: | Line 66: | ||
| country = {{{country|}}} | | country = {{{country|}}} | ||
}}<!-- | }}<!-- | ||
-->[[Category:Simple events]]<!-- | -->[[Category:Simple events]]<!-- | ||
-->{{#if:{{#show:{{PAGENAME}}|?Has event type#}}| | -->{{#if:{{#show:{{PAGENAME}}|?Has event type#}}| |
Revision as of 09:54, 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 |