Template:Place/service

From stencil.wiki
Revision as of 04:13, 20 December 2024 by Robertbaxter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning: Class subtemplate
This is a support template for the main class template Template:Place—it should not invoked in other circumstances.

This is a helper function for Template:Place, it handles the semantic assignment of properties for a single service. It should not need to be invoked directly—it is the output for the service values in Form:Place.

It calls Template:Infobox place/service to return the infobox row to display the service.

TemplateData

Support function for the "Place" class to make semantic annotations for a service.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Typeservice_type

The type of service (of a list of fixed types). Used for sorting (and display if no name is provided).

Suggested values
Print for hire Public hours Open submissions Workshops Print subscription Residency Periodical Anthology
Stringrequired
Nameservice_name

The custom name for the service (what the studio calls it).

Stringoptional
Linkservice_url

A link to a site that describes the service in more detail.

URLsuggested