Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Viewonamap

Originally this template acted as a shortcut to writing 'view on a map' before a list of locations. It now includes a link to download the map on Google Earth too so should always be used where appropriate. It can be added by entering {{viewonamap}} .

This template automatically generates a 'view on a map' link.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Map Page Namename

The page name of the map (excluding the namespace) - it will happily assume it's the same as the current page name.

Default
{{PAGENAME}}
Example
Moto
Page nameoptional
KML Searchsearch

The KML search will look for service areas which use a template with the brand name provided.

Default
{{PAGENAME}}
Example
KFC
Page nameoptional
Hide KML1

If provided, a link to a KML download will not be provided for desktop users.

Default
false
Example
true
Booleanoptional