Template:Simple event/instance: Difference between revisions
Robertbaxter (talk | contribs) (Created page with "<noinclude>{{Class subtemplate}} This is a helper function for Template:Simple event, it handles the semantic assignment of properties for a single instance of an event. It should not need to be invoked directly—it is the output for the instance values in Form:Simple event. It generates no direct display, however the values it assigns are displayed with queries through Template:Infobox simple event/instance. == TemplateData == <templatedata> { "descripti...") |
Robertbaxter (talk | contribs) No edit summary |
||
Line 74: | Line 74: | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly><!-- | --><includeonly><!-- | ||
-->{{#subobject:{{{name|{{{start_date|}}}}}}|@category= | -->{{#subobject:{{{name|{{{start_date|}}}}}}|@category=Simple instances | ||
| Has parent event = {{PAGENAME}} | | Has parent event = {{PAGENAME}} | ||
| Has start date = {{{start_date|}}} | | Has start date = {{{start_date|}}} |
Latest revision as of 14:16, 12 August 2025
This is a helper function for Template:Simple event, it handles the semantic assignment of properties for a single instance of an event. It should not need to be invoked directly—it is the output for the instance values in Form:Simple event.
It generates no direct display, however the values it assigns are displayed with queries through Template:Infobox simple event/instance.
TemplateData
Support function for the "Simple event" class to make semantic annotations for an instance.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Start date | start_date | Start date of the instance. | Date | required |
End date | end_date | End date of the instance (can be left blank for one-day events). | Date | optional |
Website | website | A link for the event. | URL | optional |
Venue | venue | The name of the venue for the instance (can link to a page if there is an associated location, otherwise appears as a red link). | Page name | 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 |
Coordinates | coordinates | The latitude and longitude coordinates of the space (optional, to support map display).
| String | suggested |
Application link | application_link | A link to the application form/process for the event. | URL | optional |