Pages which use this template are listed at Category:Simple events.
Template:Simple event: Difference between revisions
Robertbaxter (talk | contribs) No edit summary Tag: Manual revert |
Robertbaxter (talk | contribs) No edit summary |
||
Line 83: | Line 83: | ||
-->{{#invoke:Geography|geoCategories | -->{{#invoke:Geography|geoCategories | ||
| class = event | | class = event | ||
| country = {{#ask:[[-Has subobject::{{PAGENAME}}]][[Category: | | country = {{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:Simple instances]]|?In country#|format=plainlist|headers=hide|mainlabel=-}} | ||
| state_province = {{#ask:[[-Has subobject::{{PAGENAME}}]][[Category: | | state_province = {{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:Simple instances]]|?In state/province#|format=plainlist|headers=hide|mainlabel=-}} | ||
| city = {{#ask:[[-Has subobject::{{PAGENAME}}]][[Category: | | city = {{#ask:[[-Has subobject::{{PAGENAME}}]][[Category:Simple instances]]|?In city#|format=plainlist|headers=hide|mainlabel=-}} | ||
}}<!-- | }}<!-- | ||
-->{{#set: | -->{{#set: |
Revision as of 15:59, 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 |