Template:TunnelBox/doc: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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: | 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>{{ | <nowiki>{{TunnelBox | ||
|name=Boot Hill | |name=Boot Hill | ||
|county=Westmoreland | |county=Westmoreland | ||
Line 10: | Line 10: | ||
}}</nowiki> | }}</nowiki> | ||
{{ | {{TunnelBox | ||
|name=Boot Hill | |name=Boot Hill | ||
|county=Westmoreland | |county=Westmoreland | ||
Line 25: | Line 25: | ||
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. | ||
<br style="clear:both;"> | <br style="clear:both;"> | ||
{{ | {{TunnelBox | ||
|name=Boot Hill | |name=Boot Hill | ||
|county=Westmoreland | |county=Westmoreland |
Revision as of 18:47, 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:
{{TunnelBox |name=Boot Hill |county=Westmoreland |length=3,141 ft |sprr=2,718 ft |opened=[[18 September]] 1973 |closed=[[29 July]] 2013 }}
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 tunnel's length on the South Penn Railroad, 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.
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.