Template:New Zealand motorway
From Wikipedia, the free encyclopedia
{{{motorway}}} | |
State Highway Number | {{{state-highway}}} |
Length | {{{length-km}}} km {{{length-mi}}} miles |
Direction | {{{direction}}} |
Start | {{{start}}} |
Primary destinations | {{{destinations}}} |
End | {{{end}}} |
Construction dates | {{{opening-date}}} - {{{completion-date}}} |
State Highways joined | {{{junctions}}} |
[edit] Template documentation
Contents[hide] |
[edit] Purpose
This template is used as an infobox on New Zealand motorways. It can also be used for expressways.
[edit] Usage
{{New Zealand motorway | motorway = | image-file = | image-size = | image-caption = | state-highway = | length-km = | length-mi = | direction = | start = | destinations = | end = | opening-date = | completion-date = | junctions = }}
The following table explains the parameters that this template uses.
An example of usage follows the table.
Parameter | Contents |
---|---|
motorway | The name of the motorway. |
image-file | The name of the image which you wish to display. You don't need "[[image:". |
image-size | The image size (e.g. 150px). Maximum 200px. |
image-caption | The caption for the image. |
state-highway | The State Highway number(s) of the motorway. |
length-km | The length of the motorway in kilometres. |
length-mi | The length of the motorway in miles. |
direction | The primary direction of the motorway (e.g. North - South) |
start | The terminus of the motorway with the lowest exit number. Put the locality first, followed by <br>, then the road it terminates onto. |
destinations | The major destinations along the motorway. |
end | The terminus of the motorway with the highest exit number. Put the locality first, followed by <br>, then the road it terminates onto. |
opening-date | The year the first section of the motorway opened. |
completion-date | The year the last section of the motorway opened. |
junctions | The State Highways the motorway joins. List them as '''Exit xx'''<br>State Highway xx ([[Motorway name]]), with <br> between separate listings. If it joins no State Highways, write ''None'' |
[edit] Example
{{New Zealand motorway | motorway = Wellington Urban Motorway | image-file = Wellington Motorway.jpg | image-size = 225px | image-caption = The Wellington Urban Motorway in 1994, looking north out of Wellington. The motorway shares a narrow stretch of land with the [[North Island Main Trunk Railway]] and the [[Wairarapa Line]]. | state-highway = [[State Highway 1 (New Zealand)|State Highway 1]] | length-km = 7 | length-mi = 4 | direction = North - South | start = Ngauranga<br>[[Ngauranga Interchange]] | destinations = Ngauranga<br>Kaiwharawhara<br>Thorndon<br>Kelburn<br>Te Aro<br>Wellington CBD<br>Waterfront | end = [[Te Aro]]<br>Karo Drive and Ghuznee Street | opening-date = 1969 | completion-date = 2007 | junctions = '''Exit 1068'''<br>'''(Ngauranga Interchange)''' <br> State Highway 2 }}
The above data will result in the infobox below.
Wellington Urban Motorway | |
The Wellington Urban Motorway in 1994, looking north out of Wellington. The motorway shares a narrow stretch of land with the North Island Main Trunk Railway and the Wairarapa Line. | |
State Highway Number | State Highway 1 |
Length | 7 km 4 miles |
Direction | North - South |
Start | Ngauranga Ngauranga Interchange |
Primary destinations | Ngauranga, Kaiwharawhara, Thorndon, Kelburn, Te Aro, Wellington CBD, Waterfront |
End | Te Aro Karo Drive and Vivian Street |
Construction dates | 1969 - 2007 |
State Highways joined | Exit 1068 (Ngauranga Interchange) State Highway 2 |