Motorway Services Online

Retrieved from "https://motorwayservices.uk"

Template:Map road

This should generate the map of services on a particular road. To create one, simply put {{Map road}} on a blank map page.

Where two roads form one route, such as M42 & A42, put {{Map road|A42}} on the M42's map page.

This template automatically generates a map of service areas on the roads listed. To correct it, you probably need to visit that service area's page. Pay particular attention to the categories at the end of those pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Road Number1

Ireland: enter the road number to search for, without the M. Can hack it to search for two numbers. UK: it will automatically search the page name. You can add a second (or third) category to search for.

Default
{{PAGENAME}} for GB only
Unknownoptional
Second Road3

If this page is about two roads in one, put the second road number here. Note that this only affects the description, not the actual search. Use option 1 to hack the search, or add this page to Category:This Page Name.

Example
A42
Stringoptional
A-road?aroad

If this page is only about an A-road, enter yes here. It changes the search function.

Default
false
Example
yes
Booleanoptional
Motorway?motorway

Special variable which tells the map to hide adjoining non-motorway service areas.

Default
false
Example
yes
Booleandeprecated
Countrycountry

The map needs to know which country's road it is looking at.

Default
GB
Example
IE, NI or GB
Stringsuggested