Difference between revisions of "Template:BS-daten"
Jump to navigation
Jump to search
imported>Peter Horn |
imported>WOSlinker (tidy style) |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{BILDPFAD_FOTO|}}}|<tr><td | + | {{#if: {{{BILDPFAD_FOTO|}}}|<tr><td style="vertical-align:top" colspan="2">[[File:{{{BILDPFAD_FOTO}}}|center|{{{PIXEL_FOTO}}}|{{{TEXT_FOTO}}}]]{{#if: {{{TEXT_FOTO|}}}|<div align="center"><small>{{{TEXT_FOTO}}}</small></div></td></tr>}}</td></tr> |
| − | }}{{#if: {{{BILDPFAD_KARTE|}}}|<tr><td | + | }}{{#if: {{{BILDPFAD_KARTE|}}}|<tr><td style="vertical-align:top" colspan="2">[[File:{{{BILDPFAD_KARTE}}}|center|{{{PIXEL_KARTE}}} |{{{TEXT_KARTE}}}]]{{#if: {{{TEXT_KARTE|}}}|<div align="center"><small>{{{TEXT_KARTE}}}</small></div></td></tr>}}</td></tr> |
| − | }}{{#if: {{{DE-KBS|}}}|<tr><td | + | }}{{#if: {{{DE-KBS|}}}|<tr><td style="vertical-align:top">[[Kursbuchstrecke|Route number]]:</td><td>{{{DE-KBS}}}</td></tr> |
| − | }}{{#if: {{{STRECKENNR|}}}|<tr><td | + | }}{{#if: {{{STRECKENNR|}}}|<tr><td style="vertical-align:top">Line number:</td><td>{{{STRECKENNR}}}</td></tr> |
| − | }}{{#if: {{{LÄNGE|}}}|<tr><td | + | }}{{#if: {{{LÄNGE|}}}|<tr><td style="vertical-align:top">Line length:</td><td>{{{LÄNGE}}}</td></tr> |
| − | }}{{#if: {{{SPURWEITE|}}}|<tr><td | + | }}{{#if: {{{SPURWEITE|}}}|<tr><td style="vertical-align:top">[[Track gauge]]:</td><td>{{{SPURWEITE}}} </td></tr> |
| − | }}{{#if: {{{ASPURWEITE|}}}|<tr><td | + | }}{{#if: {{{ASPURWEITE|}}}|<tr><td style="vertical-align:top">Old track gauge:</td><td>{{{ASPURWEITE}}} </td></tr> |
| − | }}{{#if: {{{STROMG|}}}|<tr><td | + | }}{{#if: {{{STROMG|}}}|<tr><td style="vertical-align:top">[[Voltage]]:</td><td>{{{STROMG}}} [[Direct current|DC]]</td></tr> |
| − | }}{{#if: {{{STROMW|}}}|<tr><td | + | }}{{#if: {{{STROMW|}}}|<tr><td style="vertical-align:top">[[Voltage]]:</td><td>{{{STROMW}}} [[Alternating current|AC]]</td></tr> |
| − | }}{{#if: {{{STROMD|}}}|<tr><td | + | }}{{#if: {{{STROMD|}}}|<tr><td style="vertical-align:top">[[Voltage]]:</td><td>{{{STROMD}}} [[Three-phase electric power|∆]]</td></tr> |
| − | }}{{#if: {{{STROME|}}}|<tr><td | + | }}{{#if: {{{STROME|}}}|<tr><td style="vertical-align:top">[[Railway electrification system|Electrification]]:</td><td>{{{STROME}}}</td></tr> |
| − | }}{{#if: {{{NEIGUNGA|}}}{{{NEIGUNG|}}}|<tr><td | + | }}{{#if: {{{NEIGUNGA|}}}{{{NEIGUNG|}}}|<tr><td style="vertical-align:top">[[Grade (slope)|Maximum incline]]:</td><td>{{#if: {{{NEIGUNGA|}}}|<small>Adhesion</small> {{{NEIGUNGA|}}} [[Percent sign|%]]<br/><small>Rack rail</small>}} {{{NEIGUNG|}}} [[Percent sign|%]]</td></tr> |
| − | }}{{#if: {{{RADIUS|}}}|<tr><td | + | }}{{#if: {{{RADIUS|}}}|<tr><td style="vertical-align:top">[[Minimum railway curve radius|Minimum radius]]:</td><td>{{{RADIUS}}}</td></tr> |
| − | }}{{#if: {{{ZAHNSTANGE|}}}|<tr><td | + | }}{{#if: {{{ZAHNSTANGE|}}}|<tr><td style="vertical-align:top">Rack system:</td><td>{{{ZAHNSTANGE}}}</td></tr> |
| − | }}{{#if: {{{V-MAX|}}}|<tr><td | + | }}{{#if: {{{V-MAX|}}}|<tr><td style="vertical-align:top">Maximum speed:</td><td>{{{V-MAX}}} </td></tr> |
}}<noinclude> | }}<noinclude> | ||
==Documentation== | ==Documentation== | ||
{{documentation}} | {{documentation}} | ||
| − | |||
</noinclude> | </noinclude> | ||
Revision as of 23:42, 17 November 2014
Contents
Documentation
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
| This template should always be substituted (i.e., use {{subst:BS-daten}}). Any accidental transclusions will be automatically substituted by a bot. |
| This template uses Lua: |
Template for railway line date as part of the overall railway line template of project:ROUTE.
For a similar template see template:Infobox rail line.
Format for copying
{{BS-daten
|BILDPFAD_KARTE=
|PIXEL_KARTE=
|TEXT_KARTE=
|KBS=
|DE-KBS=
|AT-KBS=
|CH-FPF=
|SK-KBS=
|CZ-KBS=
|STRECKENNR=
|LÄNGE=
|SPURWEITE=
|ALTESPURWEITE=
|NETZKATEGORIE=
|STRECKENKLASSE=
|STROMG=
|STROMW=
|STROMD=
|STROME=
|ZAHNSTANGE=
|NEIGUNGA=
|NEIGUNG=
|RADIUS=
|V-MAX=
|ZWEIGLEISIG=
|BILDPFAD_FOTO=
|PIXEL_FOTO=
|TEXT_FOTO=
}}
Parameters
| Parameter | Text | Remarks |
|---|---|---|
| KBS | Route number ("timetable route number") | for all countries for which there are no special parameters |
| DE-KBS | Route no. (DB) | for routes in Germany with a DBAG route number |
| AT-KBS | Route no. (ÖBB) | for routes in Austria with an ÖBB route number |
| CH-FPF | Timetable no. | for routes in Switzerland based on the Liste der Fahrplanfelder |
| SK-KBS | Route no. (ZSSK) | for routes in Slovakia with a ZSSK timetable number |
| CZ-KBS | Route no. (ČD) | for routes in the Czech Republic with a ČD timetable number |
| STRECKENNR | Route no. | Route number based on the VzG, including historical designation |
| LÄNGE | Route length | Route length in [km] or use template:convert |
| SPURWEITE | Rail gauge | Rail gauge in [mm] or use template:track gauge (always given) |
| ALTESPURWEITE | Old gauge | Old gauge in [mm] or use template:track gauge (only used if there was a track gauge conversion) |
| NETZKATEGORIE | Network category | Network category (only used for Austrian routes) |
| STRECKENKLASSE | Route class | Route class based on RIV (only European standard gauge lines) |
| NEIGUNG | maximum incline | maximum incline in [Percent] |
| NEIGUNGA | maximal incline adhesion | Incline of the adhesion section on rack railways in [Percent] |
| RADIUS | Minimum radius | minimum curve radius [m] or use template:convert |
| STROMG | Power system | Voltage, if DC |
| STROMW | Power system | Voltage/frequency if AC |
| STROMD | Power system | Voltage/frequency if 3-phase |
| STROME | Electrification | Overhead lines or third rail as the case may be |
| ZAHNSTANGE | Rack system | Rack railway system entered if known |
| V-MAX | Top speed | Top speed on the open line in [km/h] |
| ZWEIGLEISIG | Double-tracked sections | Information on double-tracked sections |
| BILDPFAD_FOTO | A photo or picture of the logo etc. | |
| PIXEL_FOTO | - | desired photo width, e.g. 200px |
| TEXT_FOTO | - | caption |
| BILDPFAD_KARTE | - | Route map |
| PIXEL_KARTE | - | desired map width, e.g. 200px |
| TEXT_KARTE | - | map caption if required |
Usage
BS-daten is originally built for including into the map table above {{BS-table}}. If you want to use it in the newer {{BS-map}} which merges all 3 other templates into one entity, you need to ring the BS-daten by {{{!}} & {{!}}}.
Traditional format
{|{{railway line header}}
{{BS-header}}<!--optional table title header-->
{{BS-daten}}
{{BS-table}}
<!--main body of the diagram-->
|}
|}
BS-map
{{BS-map
|title=
|top=
{{{!}}<!--call for Wiki table-->
{{BS-daten}}
{{!}}}<!--end of the most recent Wiki table-->
|map=
<!--main body of the diagram-->
}}
Tracking category
| The above documentation is transcluded from Template:BS-daten/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |