Template:UK-railway-routemap/doc

Usage
This template should be added to all Route Diagram Templates of United Kingdom railways.

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

Adding an optional parameter will include the railway name as a link, for example,

will change the first line of the template to:

Adding an optinal second parameter will change the displayed text of the link, making it a piped link, for example,

will change the first line of the template to:

The optional named parameter type will change “a UK railway” to “a UK alternate text”. For example,

will change the first line of the template to:

and,

will change the first line of the template to:

The optional named parameter theanything will omit the word ‘the’ before the linked page. For example,

will change the first line of the template to:

The optional named parameter place will change “a UK railway” to “a alternate text railway”. For example,

will change the first line of the template to:

and,

will change the first line of the template to:

Categories
By default the template will be included in Category:Templates for railway lines of the United Kingdom. However, adding the parameter cat provides a shortcut for other categories: &ast; in addition to Category:Templates for railway lines of the United Kingdom

Note that this parameter is not case sensitive: i.e. NO produces the same result as no.

The optional named parameter catidx will add a sort key to the category.