Jump to content

Template:TunnelBox/doc: Difference between revisions

From SeptemWiki
m Shawn moved page Template:TurnpikeTunnel/doc to Template:TunnelBox/doc: Renamed the main template
No edit summary
Line 1: Line 1:
This template adds an infobox about a Turnpike tunnel.  To use it on your page, put this at the top of the article or appropriate section:
This template adds an infobox about a tunnel, Turnpike or otherwise.  To use it on your page, put this at the top of the article or appropriate section:


  <nowiki>{{TurnpikeTunnel
  <nowiki>{{TurnpikeTunnel
Line 20: Line 20:


And the result would look as you see here.
And the result would look as you see here.
The '''sprr''' parameter is labeled for the South Penn tunnel's length, which is of course not applicable to any tunnel never intended to be part of the SPRR (Lehigh, Squirrel Hill, etc.)


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

Revision as of 18:41, 18 March 2016

This template adds an infobox about a tunnel, Turnpike or otherwise. To use it on your page, put this at the top of the article or 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.

The sprr parameter is labeled for the South Penn tunnel's length, which is of course not applicable to any tunnel never intended to be part of the SPRR (Lehigh, Squirrel Hill, etc.)

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.