Template:D-railway-routemap/doc

From blackwiki
< Template:D-railway-routemap
Revision as of 00:01, 1 February 2017 by imported>Useddenim (→‎NEW)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template should be added to all Route Diagram Templates of German railways.

It will automatically include the diagram in Category:Templates for railway lines of Germany.


Adding an optional parameter will include the railway name as a link, for example,

{{D-railway-routemap|Bavarian Ludwig Railway}}

will change the first line of the template to:

grey


The optional named parameter |type= will change “a German railway” to “a German alternate text”. For example,

{{D-railway-routemap|type=[[wagonway]]}}

will change the first line of the template to:

grey

and,

{{D-railway-routemap|Wuppertal Suspension Railway|type=[[suspension railway]]}}

will change the first line of the template to:

grey


The optional named parameter |place= will change “a German railway” to “a alternate text railway”. For example,

{{D-railway-routemap|place=North Rhine-Westphalia}}

will change the first line of the template to:

grey

and,

{{D-railway-routemap|Fichtelberg Railway|place=[[Saxony]]|type=[[narrow-gauge railway]] line}}

will change the first line of the template to:

grey


Adding the code |cat=no will suppress inclusion in Category:Templates for railway lines of Germany.

See also

Template:RyrmSeeAlso