Template:Motorway service station succession box/doc
Appearance
This is a documentation subpage for Template:Motorway service station succession box. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used to create a succession box for a motorway service station, identifying the service stations next in each direction along the motorway.
Usage
[edit]{{Motorway service station succession box
| road = M1 motorway
| labels = s-n
| before = [[Northampton services|Northampton]]
| after = [[Leicester Forest East services|Leicester Forest East]]
}}
Parameters
[edit]- road
- The motorway on which this service station is situated. This should be the title of the motorway's Wikipedia article.
- labels
- Specifies the labelling scheme for the before and after boxes. Valid values:
n-s | North–south |
nw-se | Northwest–southeast |
w-e | West–east |
sw-ne | Southwest–northeast |
s-n | South–north |
se-nw | Southeast–northwest |
e-w | East–west |
ne-sw | Northeast–southwest |
ac-c | Anticlockwise–clockwise |
c-ac | Clockwise–anticlockwise |
- before
- The previous service station in the sequence.
- after
- The next service station in the sequence.
Note: The direction should be in accordance with that in which the motorway's junction numbers increase.
Parameters before-label and after-label are also provided in case any labelling scheme not provided by labels is wanted.