User:Chuq/Template:Infobox Australian Road

From Wikipedia, the free encyclopedia

Enter a road name
Length {{{length}}} km
General direction {{{direction}}}
Route: {{{start}}}
{{{through}}}
{{{finish}}}
This template employs intricate features of template syntax.

Please do not alter it unless you understand its setup and parser functions and are ready to repair or revert all collateral damage if results are unexpected.
Any experiments should be conducted and all improvements tested in either the template sandbox or your user space before changing anything here.

[edit] Usage

To use this template
  1. 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.
  2. Enter values for the fields as outlined in the table below. Fields left blank will automatically be hidden.
  3. Preview.
  4. Save the page with an appropriate edit summary.

[edit] Blank template

{{Infobox Australian Road
| road_name    =
| route_image  =
| route_image2 =
| route_image3 =
| photo        =
| caption      =
| length       =
| direction    =
| start        =
| finish       =
| est          =
| through      =
| route        =
| exits        =
}}

[edit] Fields

All fields used by this template are optional. The following fields are avaliable:

Field Name Required? Description Values
road_name yes name of road plain text
route_image no route shield/box filename (see here)
route_image2 no route shield/box filename
route_image3 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 yes length of the road number (km)
direction yes 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
line no (optional) railway line plain text, link
exits no list of major exits/interchanges plain text