This is an old revision of this page, as edited by Nbound (talk | contribs) at 10:40, 29 May 2013 (→Fields: Add JBT as is in the code, but not mentioned). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 10:40, 29 May 2013 by Nbound (talk | contribs) (→Fields: Add JBT as is in the code, but not mentioned)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)This is a documentation subpage for Template:Infobox Australian road. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
- To use this template
- Copy the blank template below into the beginning of your document, remembering to put the code at the very top of the article and the first word of the article on the very next line.
- Enter values for the fields as outlined in the table below. Fields left blank will automatically be hidden.
- Preview.
- Save the page with an appropriate edit summary.
Blank template
{{Infobox Australian road | type = | road_name = | state = | route_image = | route_image2 = | route_image3 = | route_image4 = | photo = | caption = | length = | length_rnd = | length_ref = | direction = | start = | finish = | est = | through = | route = | exits = | region = | permit = | fuel = | facilities = | location = | coordinates = }}
Fields
All fields used by this template are optional. The following fields are available:
Field Name | Required? | Description | Values |
type | no | type of road | "freeway", "highway", "city highway", "road", "rural road", "street" or "track" |
road_name | yes | name of road | plain text |
state | no | state where the road is located | If the road passes through one state, use one of the following postal abbreviations (using any case lettering): "QLD", "NSW", "ACT", "VIC", "TAS", "SA", "WA", "NT". The state will be automatically linked. If the road passes through more than one state, use the full name of each state, separated by commas. Wikilinks should be used. Note: Jarvis Bay Territory uses its standard non-postal abbreviation: "JBT". |
route_image | no | route shield/box | filename (see here) |
route_image2 | no | route shield/box | filename |
route_image3 | no | route shield/box | filename |
route_image4 | no | route shield/box | filename |
photo | no | generic image of the road | filename |
caption | no | caption for the road image | wikitext (can contain links) |
length | no | length of the road | number (km) |
length_rnd | no | rounding for short roads such as Mouat Street | single integer numeric value |
length_ref | no | reference for the length of the road | reference, preferably use one of the citation templates such as {{cite web}} or {{cite news}} |
direction | no | general direction of the road | text (eg North-South) |
start | yes | starting point | plain text, link |
finish | yes | finishing point | plain text, link |
est | no | date or year established | date, link |
through | yes | list of major suburbs/towns it traverses | plain text, link |
route | yes | routes of which it is part | plain text |
exits | no | list of major exits/interchanges | plain text |
region | no | name of region through which the road passes | plain text |
location | no | location image of the road | filename |
coordinates | no | coordinates of the road | For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise. |
The following fields are used primarily for remote roads and those passing through Aboriginal lands | |||
---|---|---|---|
permit | no | If permits are required, include number. Leave blank if not required | plain text |
fuel | no | Brief description of fuel availability on the road, only visible when type=track | plain text |
facilities | no | Brief description of facilities on the road, only visible when type=track | plain text |