Template:Event/instance: Difference between revisions

From stencil.wiki
(Created page with "<noinclude>{{Class subtemplate}} This is a helper function for Template: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 people values in Form:Event. It generates no direct display, however the values it assigns are displayed with queries through Template:Infobox place/event. == TemplateData == <templatedata> { "description": "Support function for...")
 
No edit summary
Line 32: Line 32:
}
}
}
}
</templatedata>!
</templatedata>
</noinclude><!--
</noinclude><!--
--><includeonly><!--
--><includeonly><!--

Revision as of 23:22, 19 December 2024

Warning: Class subtemplate
This is a support template for the main class template Template:Event—it should not invoked in other circumstances.

This is a helper function for Template: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 people values in Form:Event.

It generates no direct display, however the values it assigns are displayed with queries through Template:Infobox place/event.

TemplateData

Support function for the "Event" class to make semantic annotations for an instance.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Unique name of the instance (if different from the event page name).

Stringoptional
Start datestart_date

Start date of the instance.

Daterequired
End dateend_date

End date of the instance (can be left blank for one-day events).

Dateoptional
Venuevenue

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 nameoptional