Help:Motorway Routeboxes

From All About Ayrshire
Revision as of 18:33, 7 October 2015 by Admin (talk | contribs) (Created page with "Creating a routebox is like playing with lego, it is built up by using several templates as appropriate ==Standard Motorway== ===Motorway Top=== Every routebox should start...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Standard Motorway[edit]

Motorway Top[edit]

Every routebox should start with a top template, in this case it should be Motorway Top. The code to insert this is:

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Motorway Top| <[[Image:Mxx.jpg]]> | <start location> | <end location> | <length in miles> | <length in km>}}</syntaxhighlight>

Route Outline[edit]

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

"Standard" Motorway[edit]

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

This shows a standard motorway section between the two points.

Unbuilt Motorway[edit]

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

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

Former/Defunct Motorway[edit]

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{Former Motorway| <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>

Former and Unbuilt Motorways[edit]

If the entire motorway is either unbuilt or has been downgraded, substitute "Motorway Top" for "Former Motorway Top" or "Unbuilt Motorway Top", and use the appropriate route outline templates.

Finishing (important)[edit]

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