Difference between revisions of "Template:D-railway-routemap/doc"
imported>BrandonXLF |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
Line 56: | Line 56: | ||
{{ryrmSeeAlso}} | {{ryrmSeeAlso}} | ||
− | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
Line 65: | Line 65: | ||
[[Category:Templates for railway lines of Germany| ]] | [[Category:Templates for railway lines of Germany| ]] | ||
− | </includeonly> | + | }}</includeonly> |
Latest revision as of 22:45, 24 April 2020
![]() | This is a documentation subpage for Template:D-railway-routemap. It contains usage information, categories and other content that is not part of the original template page. |
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:
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:
and,
{{D-railway-routemap|Wuppertal Suspension Railway|type=[[suspension railway]]}}
will change the first line of the template to:
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:
and,
{{D-railway-routemap|Fichtelberg Railway|place=[[Saxony]]|type=[[narrow-gauge railway]] line}}
will change the first line of the template to:
Adding the code |cat=no
will suppress inclusion in Category:Templates for railway lines of Germany.
See also