Difference between revisions of "Template:BS-daten/Sandbox"
Jump to navigation
Jump to search
imported>Nomadtales |
imported>Nomadtales |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{ | + | {{#if: {{{image|}}}|<tr><td valign="top" colspan="2">[[Image:{{{IMAGE}}}|center|{{{image_size}}}|{{{caption}}}]]{{#if: {{{CAPTION|}}}|<div align="center"><small>{{{CAPTION}}}</small></div></td></tr>}}</td></tr> |
| − | }}{{#if: {{{ | + | }}{{#if: {{{map|}}}|<tr><td valign="top" colspan="2">[[Image:{{{map}}}|center|{{{map_size}}}|Strecke der {{PAGENAME}}]]</td></tr> |
| − | }}{{#if: {{{ | + | }}{{#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>{{ #switch: {{{guage}}}| N = Narrow | B = Broad | S = Standard}}</td></tr> | |
| − | |||
| − | }}{{#if: {{{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}}<noinclude> | }}<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: | ||
<pre> | <pre> | ||
| − | {{BS- | + | {{BS-Infobox |
| − | | | + | |image = |
| − | | | + | |caption = |
| − | | | + | |image_size = |
| − | + | |map = | |
| − | | | + | |map_size = |
| − | | | + | |length = |
| − | + | |guage = | |
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 39: | Line 20: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| − | | | + | | 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 |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
{{BS warning}} | {{BS warning}} | ||
[[Category:German rail line templates|{{{PAGENAME}}}]] | [[Category:German rail line templates|{{{PAGENAME}}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 05:09, 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 =
|guage =
}}
| 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 |
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. |