Motorway Services Online


This article concerns the facilities section of each services page, an example of which can be found here.

Parts of this are complicated, so the best way to get a good grasp of it is to look at examples by logging in and selecting 'edit'.

The Structure

The information should be split into four categories; main amenities ("general"), restaurants, shops and motel, with a final section for the facilities available at the petrol station. Each facility should then be separated by commas, giving you this:
{{Facilities|Amenities| Electric Vehicle Charing Point, Full Hou$e, Showers }}
{{Facilities|Restaurant| Burger King, Costa, EDC, Greggs, Costa Express, Krispy Kreme }}
{{Facilities|Shops| Fone Bitz, M&S Simply Food, WHSmith }}
{{Facilities|Motel| Travelodge }}
{{Facilities|Forecourt| BP (with LPG), Shop, Costa Express }}

This is only a guideline - in some cases a common sense approach should be taken.
Note that we use the heading "forecourt" for the fuel / filling station. This is because these places, which are separate to the main building, tend to sell a lot more than just fuel.


As explained in Help:Editing, you can (and should) create a link by surrounding that item in square brackets. So, [[KFC]] gives you KFC. This should be done if that facility has a page in the Brands section, or if one is likely to be created. If one isn't likely to be created, no link is needed.

Links can be created with two types of bracket: square ( [[ ) and curly ( {{ ). Square simply creates a link. Curly invokes a template, and is therefore the better option - if the relevant template exists. To understand why different ones work at different times, you have to understand a little bit about how the site works. Don't worry if you glaze over the next few paragraphs - so long as one person knows, we'll always be able to fix any issues! For more seasoned editors, we would stress it's vital the following process is understood - convoluted and outdated it may be, but it's the thinking power behind Services Search, Map:Services, and so many other key features.

We can read the list of facilities above and work out exactly what facilities there are. But computers aren't clever enough to work it out (or at least the ones which run this website aren't). They like to follow processes, and this is what they do:

When someone uses Services Search (or another script), a lot happens behind the scenes:

  1. The website gets a list of every page on the website.
  2. The website lists the categories the user has requested. This will be Category:Services, and any more specific ones.
  3. The website then checks all those categories, and removes any pages which aren't in all those categories.
  4. If a particular brand has been requested, the categories won't be helpful enough. Instead, it checks Category:Facility Templates, and looks for every page which invokes the template of the brand being requested. In English this means if you've asked for WHSmith, the website is now actively looking for the line {{WHSmith}}, but of course it doesn't think about it like that - the website thinks it is simply checking two lists to see if they match.
  5. Now it has a list of all the relevant services with the brand requested. But it will check the template (curly brackets) to see if any more information has been provided which the user may want to know. We'll explain how this part can be used further on.

Ultimately, {{WHSmith}} will only work if the script at "Template:WHSmith" exists - in this case it does, but if your brand doesn't, you can still go ahead and wait for someone else to create it for you, or you can create it yourself by copying the code from an existing page.

Curly brackets shouldn't be used in the a-roads section as these services aren't displayed on maps anyway.

Single-side Facilities

When templates (curly brackets) are being used, it's important that the system knows if a facility is on one side of the road only. To us, a single-side facility is one where you have to go outside in order to access it from the other side of the road. Facilities which are all under one roof are regarded as all on the same side, as it's a walk many will be willing to make. Yes that's not always the case, but the line has to be drawn somewhere.

{{Burger King|(W)}} will add a tag to say Burger King is on the westbound side of the road only, but more importantly it will update the map at the time time.

With too many of these tags it becomes messy, but with templates it's still important that they're used. To address this, we have a silencer. {{Burger King|(W)|s}} will tell the amp and search results that the facility is westbound only, but will not do anything to your page - we have other methods of doing that:

{{Facilities|Restaurant| FACILITIES ON BOTH SIDES GO HERE |W= {{Burger King|(W)|s}} }}

In the script above, we have a section for facilities on both sides, and a section reserved for westbound facilities only, which is where our Burger King script goes. Note that the |(W) and the |s parts are still very important - one to explain to the system that it's westbound only, and one to stop it writing that on this page.

Technically, it doesn't matter whether you put facilities on both sides in the central section, or whether you list them twice on a |W= and a |E= part of the script. The second option explained should be used only where there is one service station with two very different buildings. For anything, it looks messy, and is easy to get wrong.

Single-side Motels

In the case of motels, it should only be marked as being only one side of the road if there is no provision for drivers on the other side. At some motels, drivers on the other side will be asked to pull over and use the authorised access only bridge. This is fine, but if it asks drivers on the other side to turn around at the next junction (or to walk across a pedestrian footbridge) it should be marked as being on one side of the road only as anyone could give that advice.

Picnic Tables

It's important all the facility lists are written in the same format as they are surely the most important feature in our "guide". Sometimes, this means arbitary and frankly odd rules are required to make decisions.

To us, a landscaped area with several tables on it designed to be a fairly pleasant place to eat outdoors is a Picnic Area. Anything else is recorded as Picnic Tables.

Also, cash machines are only recorded if they're free, and as the times have changed telephones and WiFi are no longer worth mentioning.

Extra Facilities

These days it is common for stands such as Krispy Kreme or Costa Express to be included within another unit, such as WHSmith. We now list these separately - so Krispy Kreme would be under restaurants (ish - it is food), and WHSmith under shops.

Facilities which are within the petrol station, or are located in a separate building, are listed under the 'forecourt' heading. LPG and AdBlue are included within the fuel provider's tags, giving you this:


Each one of these additions will usually run their own scripts, to ensure these facilities are included in the appropriate sections of the Services Search.


On motorways and a-roads, wherever possible references to motels should include a link to the motel's official website.

  • For Ibis Budget, put {{Ibis Budget| |CODE1|CODE2}}. The two codes can be found by visiting the hotel's page on their website, the first one is a numerical code after '.../gb/hotel-' and before '-etap-hotel-etap-hotel-', and the second code is the hotel's name and comes after that and before '/index.shtml'. Here is an example for Beaconsfield - the two codes (in order) are shown in bold:
  • For Travelodge, put {{Travelodge| |CODE}}. As with Etap Hotel, you can find the code by finding the hotel's page on their website and looking at the address - in this case the code is the number at the very end.
  • For Ramada, put {{Ramada| |CODE}}. As with Travelodge, you can find the code by finding the hotel's page on their website and looking at the address.
  • For Days Inn, put {{Days Inn| |CODE}}, or for Days Hotel put {{Days Inn| |CODE|hotel=yes}}. Annoyingly the only way to find the code is to find the hotel on Welcome Break and then follow the link to Days Inn's, where there will be five digits in the address.

(The spaces before 'CODE' are needed to avoid an error on the map pages.) If the motel is only accessible to one side of the road, you can use the features introduced in the previous section as follows: {{Travelodge|(N)|CODE|s}}