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

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
 
imported>BrandonXLF
Line 14: Line 14:
 
will change the first line of the template to:
 
will change the first line of the template to:
  
{{box|grey|3=This is a route-map template for the [[Bavarian Ludwig Railway]], a German railway.}}
+
{{divbox|grey|3=This is a route-map template for the [[Bavarian Ludwig Railway]], a German railway.}}
  
  
Line 23: Line 23:
 
will change the first line of the template to:
 
will change the first line of the template to:
  
{{box|grey|3=This is a route-map template for a German [[wagonway]].}}
+
{{divbox|grey|3=This is a route-map template for a German [[wagonway]].}}
  
 
and,
 
and,
Line 31: Line 31:
 
will change the first line of the template to:
 
will change the first line of the template to:
  
{{box|grey|3=This is a route-map template for the [[Wuppertal Suspension Railway]], a German [[suspension railway]].}}
+
{{divbox|grey|3=This is a route-map template for the [[Wuppertal Suspension Railway]], a German [[suspension railway]].}}
  
  
Line 40: Line 40:
 
will change the first line of the template to:
 
will change the first line of the template to:
  
{{box|grey|3=This is a route-map template for a North Rhine-Westphalia railway.}}
+
{{divbox|grey|3=This is a route-map template for a North Rhine-Westphalia railway.}}
  
 
and,
 
and,
Line 48: Line 48:
 
will change the first line of the template to:
 
will change the first line of the template to:
  
{{box|grey|3=This is a route-map template for the [[Fichtelberg Railway]], a [[Saxony]] [[narrow-gauge railway]] line.}}
+
{{divbox|grey|3=This is a route-map template for the [[Fichtelberg Railway]], a [[Saxony]] [[narrow-gauge railway]] line.}}
  
  

Revision as of 18:22, 5 July 2018

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