Difference between revisions of "Template:Deutsche Bahn station codes"
Jump to navigation
Jump to search
Template documentation
Script error: No such module "Parameter validation".
imported>Izkala (simply omit if no ds100 or category) |
imported>Izkala (Adding IBNR) |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{code|}}}|{{{code}}}|{{#if:{{{ds100|}}}{{{category|}}}|n/a}}}}{{#if:{{{ds100|}}}|</td></tr><tr><th scope="row">[[List of Deutsche Bahn station abbreviations|DS100 code]]</th><td>{{{ds100}}}}}{{#if:{{{category|}}}|</td></tr><tr><th scope="row">[[German railway station categories|Category]]</th><td>{{{category}}}}}<noinclude> | + | {{#if:{{{code|}}}|{{{code}}}|{{#if:{{{ds100|}}}{{{category|}}}{{{ibnr|}}}|n/a}}}}{{#if:{{{ds100|}}}|</td></tr><tr><th scope="row">[[List of Deutsche Bahn station abbreviations|DS100 code]]</th><td>{{{ds100}}}}}{{#if:{{{ibnr|}}}|</td></tr><tr><th scope="row"><abbr title="Internationale Bahnhofsnummer">IBNR</abbr></th><td>{{{ibnr}}}}}{{#if:{{{category|}}}|</td></tr><tr><th scope="row">[[German railway station categories|Category]]</th><td>{{{category}}}}}<noinclude> |
{{Documentation|content= | {{Documentation|content= | ||
This template can be used in conjunction with {{tl|Infobox station}} to list [[Deutsche Bahn|DB]]-specific codes. | This template can be used in conjunction with {{tl|Infobox station}} to list [[Deutsche Bahn|DB]]-specific codes. | ||
<pre> | <pre> | ||
| − | {{Deutsche Bahn station codes|code=|ds100=|category=}} | + | {{Deutsche Bahn station codes|code=|ds100=|ibnr=|category=}} |
</pre> | </pre> | ||
| Line 12: | Line 12: | ||
| code = 9999 | | code = 9999 | ||
| ds100 = XY | | ds100 = XY | ||
| + | | ibnr = 12345678 | ||
| category = 1 | | category = 1 | ||
}} | }} | ||
| Line 20: | Line 21: | ||
| code = 9999 | | code = 9999 | ||
| ds100 = XY | | ds100 = XY | ||
| + | | ibnr = 12345678 | ||
| category = 1 | | category = 1 | ||
}} | }} | ||
Revision as of 21:39, 22 April 2015
This template can be used in conjunction with {{Infobox station}} to list DB-specific codes.
{{Deutsche Bahn station codes|code=|ds100=|ibnr=|category=}}
Example
| Other information | |
|---|---|
| Station code | 9999 |
| DS100 code | XY |
| IBNR | 12345678 |
| Category | 1 |
{{Infobox station
| code = {{Deutsche Bahn station codes
| code = 9999
| ds100 = XY
| ibnr = 12345678
| category = 1
}}
}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |