Difference between revisions of "Template:BS-Infobox"
Jump to navigation
Jump to search
imported>Nomadtales (fix attempt) |
imported>Nomadtales (fix again) |
||
| Line 2: | Line 2: | ||
}}{{#if: {{{map|}}}|<tr><td valign="top" colspan="2">[[Image:{{{map}}}|center|{{{map_size}}}|Strecke der {{PAGENAME}}]]</td></tr> | }}{{#if: {{{map|}}}|<tr><td valign="top" colspan="2">[[Image:{{{map}}}|center|{{{map_size}}}|Strecke der {{PAGENAME}}]]</td></tr> | ||
}}{{#if: {{{length|}}}|<tr><td valign="top">Line length:</td><td>{{{length}}} km</td></tr> | }}{{#if: {{{length|}}}|<tr><td valign="top">Line length:</td><td>{{{length}}} km</td></tr> | ||
| − | }}{{#if: {{{gauge|}}}|<tr><td valign="top">[[Rail gauge|Gauge:]]</td><td>{{{guage|}}}</td></tr>}}<noinclude> | + | }}{{#if: {{{gauge|}}}|<tr><td valign="top">[[Rail gauge|Gauge:]]</td><td>{{#switch: {{{guage|}}}| N = Narrow | B = Broad | S = Standard (1435mm)}}</td></tr>}}<noinclude> |
| + | |||
| − | |||
This is a template for the railway line infobox. Named parameters are: | This is a template for the railway line infobox. Named parameters are: | ||
| Line 15: | Line 15: | ||
|map_size = | |map_size = | ||
|length = | |length = | ||
| − | | | + | |gauge = |
}} | }} | ||
</pre> | </pre> | ||
Revision as of 06:37, 7 September 2007
This is a template for the railway line infobox. Named parameters are:
{{BS-Infobox
|image =
|caption =
|image_size =
|map =
|map_size =
|length =
|gauge =
}}
| Length | Line length (km) |
| Gauge | Gauge (mm) |
| Map | Map |
| Map_Size | Map width, for example 200px |
| Image | Image |
| Caption | Image caption |
| Image_Size | Image width, for example 200px |
| 50px | This template is part of the project:route diagram template and currently a work in progress. While it may be safe to use in the article namespace, there may be unexpected glitches or bugs, so use with caution. |