Difference between revisions of "Template:D-railway-routemap"

From blackwiki
Jump to navigation Jump to search
imported>Axpde
(new template)
 
imported>Useddenim
(standardized; documentation)
Line 1: Line 1:
This is a route-map template for a railway in Germany.
+
This is a route-map template for {{#ifexist:{{{1}}}|the [[{{{1}}}]],|}} {{a or an|{{{place|German}}}}} {{{type|railway}}}.
 
+
* For information on use of this template, refer to [[Wikipedia:Route diagram template]].
For information on use of this template, refer to [[Wikipedia:Route diagram template]], for pictograms used see [[Wikipedia:Route diagram template/Catalog of pictograms]].
+
* For pictograms used see [[Wikipedia:Route diagram template/Catalog of pictograms]].
 
+
{{#ifeq:{{{cat}}}|no||[[Category:Templates for railway lines of Germany]]}}<noinclude>
[[Category:Templates for railway lines of Germany|<noinclude> </noinclude>{{PAGENAME}}]]
+
{{documentation}}
 +
</noinclude>

Revision as of 00:03, 1 February 2017

This is a route-map template for a German railway.

50px Template documentation[view] [edit] [history] [purge]

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

Template:RyrmSeeAlso