Difference between revisions of "Template:BS-daten/Sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Nomadtales
imported>Nomadtales
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>
+
{{#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: {{{BILDPFAD_KARTE|}}}|<tr><td valign="top" colspan="2">[[Image:{{{BILDPFAD_KARTE}}}|center|{{{PIXEL_KARTE}}}|Strecke der {{PAGENAME}}]]</td></tr>
+
}}{{#if: {{{map|}}}|<tr><td valign="top" colspan="2">[[Image:{{{map}}}|center|{{{map_size}}}|Strecke der {{PAGENAME}}]]</td></tr>
}}{{#if: {{{DE-KBS|}}}|<tr><td valign="top">[[Kursbuchstrecke|Route Number:]]</td><td>{{{DE-KBS}}}</td></tr>
+
}}{{#if: {{{length|}}}|<tr><td valign="top">Line length:</td><td>{{{length}}}&nbsp;km</td></tr>
}}{{#if: {{{STRECKENNR|}}}|<tr><td valign="top">Line number:</td><td>{{{STRECKENNR}}}</td></tr>
+
}}{{#if: {{{gauge|}}}|<tr><td valign="top">[[Rail gauge|Gauge:]]</td><td>{{ #switch: {{{guage}}}| N = Narrow | B = Broad | S = Standard}}</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>{{{GAUGE}}}</td></tr>
 
}}{{#if: {{{STROMG|}}}|<tr><td valign="top">Voltage:</td><td>{{{STROMG}}}&nbsp;[[Direct Current|=]]</td></tr>
 
}}{{#if: {{{STROMW|}}}|<tr><td valign="top">Voltage:</td><td>{{{STROMW}}}&nbsp;[[Alternate Current|~]]</td></tr>
 
}}{{#if: {{{STROMD|}}}|<tr><td valign="top">Voltage:</td><td>{{{STROMD}}}&nbsp;[[Three-phase electric power|∆]]</td></tr>
 
}}{{#if: {{{NEIGUNGA|}}}{{{NEIGUNG|}}}|<tr><td valign="top">Maximum incline:</td><td>{{#if: {{{NEIGUNGA|}}}|<small>Adhesion</small> {{{NEIGUNGA|}}}&nbsp;[[permille|‰]]<br/><small>Rack rail</small>}} {{{NEIGUNG|}}}&nbsp;[[permille|‰]]</td></tr>
 
}}{{#if: {{{RADIUS|}}}|<tr><td valign="top">Minimum radius:</td><td>{{{RADIUS}}}&nbsp;m</td></tr>
 
}}{{#if: {{{ZAHNSTANGE|}}}|<tr><td valign="top">Rack system:</td><td>{{{ZAHNSTANGE}}}</td></tr>
 
}}{{#if: {{{V-MAX|}}}|<tr><td valign="top">Maximum speed:</td><td>{{{V-MAX}}}&nbsp;km/h</td></tr>
 
 
}}<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-daten
+
{{BS-Infobox
|DE-KBS        =
+
|image      =
|STRECKENNR   =
+
|caption   =
|LENGTH        =
+
|image_size =
|GAUGE        =
+
|map       =
|STROMG       =
+
|map_size  =
|STROMW        =
+
|length    =
|STROMD        =
+
|guage     =
|ZAHNSTANGE    =
 
|NEIGUNGA     =
 
|NEIGUNG      =
 
|RADIUS        =
 
|V-MAX        =
 
|BILDPFAD_KARTE=
 
|PIXEL_KARTE  =
 
|IMAGE        =
 
|CAPTION      =
 
|IMAGE_SIZE    =
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 39: Line 20:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| DE-KBS || Germany only: Kursbuchstrecke
+
| Length || Line length (km)
 
|-
 
|-
| STRECKENNR || Line number
+
| Gauge || Gauge (mm)
 
|-
 
|-
| LENGTH || Line length (km)
+
| Map || Map
 
|-
 
|-
| GAUGE || Gauge (mm)
+
| Map_Size || Map width, for example 200px
 
|-
 
|-
| NEIGUNG || maximum incline/decline [per mil]
+
| Image || Image
 
|-
 
|-
| NEIGUNGA || maximum incline/decline (adhesion) [per mil]
+
| Caption || Image caption
 
|-
 
|-
| RADIUS || minimum curvature (m)
+
| Image_Size || Image width, for example 200px
|-
 
| STROMG || DC voltage
 
|-
 
| STROMW || AC voltage
 
|-
 
| STROMD || Three-phase voltage
 
|-
 
| ZAHNSTANGE || Rack (if applicable)
 
|-
 
| V-MAX || Maximum line speed (km/h)
 
|-
 
| BILDPFAD_KARTE || Map
 
|-
 
| PIXEL_KARTE || 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