Jump to content

Template:TunnelBox/doc: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
Line 30: Line 30:
}}
}}


The '''sprr''' length and '''closed''' parameters are optional.  If you skipped those, you would see the second version here.
All parameters except '''name''' are optional.  If you skipped '''sprr''' and '''closed''', for example, you'd see a box like the second one here.

Revision as of 18:37, 18 March 2016

This template adds an infobox about a Turnpike tunnel. To use it on your page, put this at the top of the article (or top of appropriate section:

{{TurnpikeTunnel
|name=Boot Hill
|county=Westmoreland
|length=3,141 ft
|sprr=2,718 ft
|opened=[[18 September]] 1973
|closed=[[29 July]] 2013
}}
Boot Hill Tunnel
County Westmoreland
Length 3,141 ft
Opened 18 September 1973
Closed 29 July 2013


And the result would look as you see here.

Note that the name parameter automatically has "Tunnel" appended to it in the infobox's title bar.

Boot Hill Tunnel
County Westmoreland
Length 3,141 ft
Opened 18 September 1973


All parameters except name are optional. If you skipped sprr and closed, for example, you'd see a box like the second one here.