Difference between revisions of "Template:Deutsche Bahn station codes"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(type has been removed)
imported>Izkala
(simply omit if no ds100 or category)
Line 1: Line 1:
{{#if:{{{code|}}}|{{{code}}}|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|}}}|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>
 
{{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.

Revision as of 19:08, 22 April 2015

Template documentation

This template can be used in conjunction with {{Infobox station}} to list DB-specific codes.

{{Deutsche Bahn station codes|code=|ds100=|category=}}

Example

Other information
Station code9999
DS100 codeXY
Category1
Script error: No such module "Parameter validation".
{{Infobox station
| code = {{Deutsche Bahn station codes
 | code = 9999
 | ds100 = XY
 | category = 1
 }}
}}