Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Sundry

Sundry is a new template which tidies up some operations which the site needs to perform in the background.

Note that most of these operations are performed automatically by other templates, including Template:Services, Template:Infobox, Template:Planned, Template:Photo, Template:Gallery and Template:Picture gallery, meaning elements of or maybe all of this template can usually be skipped. Sundry is only required where none of these templates are included.

Example:
{{Sundry
|title = - the title of the page (if different to default)
|description = - a description of the page, for submitting to search engines
|image = - a photo for social media to use when a link to this page is shared
|country = - UK or Ireland
}}

Space is included for the template to record the version of the page, but this isn't currently used.

This template does some of the admin work on behalf of a page.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Descriptiondescription

A description of the page. Some other scripts generate this automatically.

Stringoptional
Page Titletitle name

The page's title. Not needed unless it needs to change

Stringoptional
Main Imageimage

Set the main image, if not specified by another script.

Stringoptional
Countrycountry

If page is exclusively about either the UK or Ireland, and it's not specified elsewhere, specify it here so that it appears in the relevant section.

Default
Leave blank for neither.
Example
Ireland or UK
Stringoptional