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

From blackwiki
Jump to navigation Jump to search
imported>Useddenim
(updated)
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 [[Kalamunda Zig Zag]], a railway in Australia.}}
+
{{divbox|grey|3=This is a route-map template for the [[Kalamunda Zig Zag]], a railway in Australia.}}
  
  
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 tramway in Australia.}}
+
{{divbox|grey|3=This is a route-map template for a tramway in Australia.}}
  
 
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 [[Dulwich Hill Line]], a [[light rail]] line in Australia.}}
+
{{divbox|grey|3=This is a route-map template for the [[Dulwich Hill Line]], a [[light rail]] line in Australia.}}
  
  
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 railway in [[Tasmania]].}}
+
{{divbox|grey|3=This is a route-map template for a railway in [[Tasmania]].}}
  
  

Revision as of 18:21, 5 July 2018

Usage

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

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


The optional named parameter |line= will include the railway name as a link, for example,

{{Australian-railway-routemap|line=Kalamunda Zig Zag}}

will change the first line of the template to:


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

{{Australian-railway-routemap|type=tramway}}

will change the first line of the template to:

and,

{{Australian-railway-routemap|line=Dulwich Hill Line|type=[[light rail]] line}}

will change the first line of the template to:


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

{{Australian-railway-routemap|place=[[Tasmania]]}}

will change the first line of the template to:


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

See also

Template:RyrmSeeAlso