Difference between revisions of "Template:Australian-railway-routemap"
imported>Useddenim m |
imported>Certes m (Check whether type parameter is set, rather than whether an article of that name exists.) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Railway-routemap|AUS|{{{line|}}}|{{#if:{{{type|}}}|type={{{type|}}}|}}|place={{{place|}}}|cat={{{cat|}}}}}<noinclude> | |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 20:55, 30 January 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=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
| The above documentation is transcluded from Template:Australian-railway-routemap/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |