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

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
(standardized; documentation)
imported>Whoop whoop pull up
m
 
Line 1: Line 1:
 
This is a route-map template for {{#ifexist:{{{1}}}|the [[{{{1}}}]],|}} {{a or an|{{{place|German}}}}} {{{type|railway}}}.
 
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 using 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>
 
{{#ifeq:{{{cat}}}|no||[[Category:Templates for railway lines of Germany]]}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:03, 23 February 2017

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

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