Help:All Purpose Road Routeboxes

From All About Ayrshire
Jump to: navigation, search

Creating a routebox is like playing with lego, it is built up by using several templates as appropriate

Top[edit]

Every routebox should start with a top template, in this case there are several options.

Primary[edit]

If the road is entirely primary, or has a significant amount of primary status, use the following top template: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Primary Top| <[[Image:Axx.jpg]]> | <start location> | <end location> | <length in miles> | <length in km> | <meets> }}</syntaxhighlight>

Non Primary[edit]

If the road is a non primary A road, or a B road, use the following top template: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Non Primary Top| <[[Image:Axx.jpg]]> | <start location> | <end location> | <length in miles> | <length in km> | <meets> }}</syntaxhighlight>

Defunct[edit]

If the road number is no longer in use, use the defunct template: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Defunct Top| <[[Image:Axx.jpg]]> | <start location> | <end location> | <length in miles> | <length in km> | <meets> | <now part of> }}</syntaxhighlight>

Historical[edit]

If the road is a historical road, e.g. a Roman Road like the Fosse Way use the Historical Road template: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Historical Road Top| <[[Image:<road>.jpg]]> | <start location> | <end location> | <length in miles> | <length in km> }}</syntaxhighlight>

Route Outline[edit]

On a line directly below the Top template, should follow the route outline templates. For many roads, this will simply be one template, but there are different combinations that can be used for unbuilt and multiplex sections.

Primary section[edit]

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Primary| <name1> - <name2> }} </syntaxhighlight>

This shows a standard primary section between the two points.

Non Primary Section[edit]

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Non Primary| <name1> - <name2> }} </syntaxhighlight>

This shows a section of unbuilt motorway between the two points.

Defunct Section[edit]

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Defunct| <name1> - <name2> }} </syntaxhighlight>

This shows a section of former/unbilt motorway between the two points.

Junction Lists[edit]

The following should be added to the start of the section: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Junctions Start | <direction 1> | <direction 2> }} </syntaxhighlight>

Junctions use the following syntax: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Junction| <number> | <roads signed from direction 1> | <roads signed from direction 2> }} </syntaxhighlight>

For multiple signed roads, separate them with commas, and use "Start of road" at either end.

Motorway Services: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Motorway Services| <name if accessible from direction 1> | <name if accessible from direction 2> ]]}} </syntaxhighlight>

Unbuilt Motorway Services: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Unbuilt Motorway Services| <name> }} </syntaxhighlight>

Toll Booths: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Toll| <direction of toll> }} </syntaxhighlight>

Closed/Unbuilt junctions: <syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Junction Unbuilt|| <direction 1> | <direction 2> }} </syntaxhighlight>

Finishing (important)[edit]

Always finish the routebox by adding the following code to the bottom: <syntaxhighlight lang="text" class="" id="" style="" inline="1">|}</syntaxhighlight>