Template:Terminal Destination

From All About Ayrshire
Jump to: navigation, search

Documentation: Terminal Destination

The Infobox is the big template down the right hand side of every single page on the Wiki, other than those that relate to a road. This template called the main {{Infobox}}, and passed parameters to it that are relevant to Terminal Destinations. It also placed the page within the correct categories.

NOTE: This template is no longer used and its functionality has been rolled into the {{Primary Destination}} template.

Do not edit this template unnecessarily as it is included in every Terminal Destination page. This causes issues regarding the Job Queue, after an update it takes hundreds of page views to clear the job queue. If edited twice, that number doubles (etc..) Smaller updates to other templates then need to wait for the job queue to clear before they take full effect, which can cause problems for other editors.

Test all edits on Template:Primary Destination sandbox first.

To use this template, copy the code below, replacing anything within <tags> as appropriate. Note that these are only the most common tags, others are also available.

{{Terminal Destination
| name = <name>
| welsh = <welsh>
| irish = <irish>
| gaelic = <gaelic>
| country = <country>
| region = <region>
| county = <county>
| authority = <authority>
| image = <image>
| caption = <caption>
| primary_roads = <primary_roads>
| next = <next>
| near = <near>
| near_npd = <near_npd>
| lat = <lat>
| lon = <lon>
| zoom = <zoom>
| layer = <layer>
| static = <static>
| rel1 = <rel1>
| rel2 = <rel2>
| rel3 = <rel3>
| rel4 = <rel4>
| rel5 = <rel5>
}}

<name> - The primary English name of the place. For places in Wales where the Welsh name is primarily used, put it here.
<welsh> - The Welsh name of the place, if used on signage.
<irish> - The Irish name of the place, if used on signage.
<gaelic> - The Gaelic name of the place, if used on signage.
<country> - The country that that place is located within.
<region> - The region that that place is located within. Only valid for places in England and needs to be correctly formatted.
<county> - The Historic (or Traditional) County that that place is located within.
<authority> - The body that looks after non-Trunk roads in the place.
<image> - A suitable picture for diplaying to illustrate the place, often "welcome to" signage.
<caption> - The caption for the above image, if needed.
<primary_roads> - National Routes that run through the place. Include motorways where relevant.
<next> - The next Terminal or Intermediate Destination found on signage on National Routes that run through the place.
<near> - Nearby Terminal or Intermediate Destinations that are not directly connected on the National Route network, but are signed from the place.
<near_npd> - Nearby other Destinations that are on the SABRE Wiki and are signed from the place.
<lat> - The latitude of the place. Needed to display a map.
<lon> - The longitude of the place. Needed to display a map.
<zoom> - The zoom level of a displayed map.
<static> - Forces a map to display in static mode, so removes the ability to scroll or zoom. Must be equal to true if desired.
<layer> - The Maps layer displayed in this Infobox. Defaults to OpenStreetMap if not used.
<relx> - Related item, often a road number.