Difference between revisions of "Template:BS-Infobox"

From blackwiki
Jump to navigation Jump to search
imported>Nomadtales
(fix attempt)
imported>StraussInTheHouse
m (Post-move cleanup.)
 
(43 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{#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>
+
#REDIRECT [[Template:Infobox route map]]
}}{{#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}}}&nbsp;km</td></tr>
 
}}{{#if: {{{gauge|}}}|<tr><td valign="top">[[Rail gauge|Gauge:]]</td><td>{{{guage|}}}</td></tr>}}<noinclude>
 
 
 
{{#switch: {{{guage|}}}| N = Narrow | B = Broad | S = Standard}}
 
 
 
This is a template for the railway line infobox. Named parameters are:
 
<pre>
 
{{BS-Infobox
 
|image      =
 
|caption    =
 
|image_size =
 
|map       =
 
|map_size  =
 
|length    =
 
|guage      =
 
}}
 
</pre>
 
 
 
{| 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}}
 
[[Category:German rail line templates|{{{PAGENAME}}}]]
 
</noinclude>
 

Latest revision as of 16:40, 10 February 2019