Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Unbuilt Map

This is a very simple script to save writing a new map for every single Unbuilt Services page.

It runs the map script like any other, but asks for the services to be provided as variable #1. These come in the standard form: LATITUDE,LONGITUDE~DESCRIPTION~~icon filename;

See History:M3 for an example.

This template places all of the unbuilt service areas on a map.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Map Data1

Enter the details of each icon you want to appear on the map.

Example
LATITUDE,LONGITUDE~DESCRIPTION~~icon filename;
Contentrequired
Centre of Mapcentre

Enter the coordinates for the centre of the map.

Default
will make a guess by looking at what's on the map
Example
51.745127, -4.0651157
Stringoptional
Zoom Levelzoom

Enter the default zoom level of the map.

Default
will make a guess by looking at what's on the map
Example
7
Numberoptional
Maximum Zoom Levelmaxzoom

Enter the maximum zoom level.

Default
19
Example
19
Numberoptional
Minimum Zoom Levelminzoom

Enter the minimum zoom level.

Default
7
Example
7
Numberoptional