Difference between revisions of "Template:Australian-railway-routemap/doc"
imported>Caen5120 (Dulwich Hill Line → Inner West Light Rail) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 48: | Line 48: | ||
{{ryrmSeeAlso}} | {{ryrmSeeAlso}} | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
| Line 57: | Line 57: | ||
[[Category:Australian railway-related lists]] | [[Category:Australian railway-related lists]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 23:25, 23 April 2020
| This is a documentation subpage for Template:Australian-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 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=Inner West Light Rail|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