Template:Bus-routemap/doc

This is a universal template for bus and trolleybus Route Diagram Templates (RDT). It adds the following text (without the surrounding box) to an RDT:

It will also place the template in Category:Bus routemap templates or the appropriate country-based subcategory.

Usage
Country is specified by any valid ISO 3166-1 code.

Additional codes
The template also recognizes these unofficial codes:

Optional parameters
When included, the second (optional) parameter should be the parent article of the diagram.

will change the first line of the template to:

Including the optional named parameter type will change “a bus route in Country” to “a alternate text in Country”. 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 display will replace the text of the article link. If display is set to either I or i the article link will automatically be italicized.

The optional named parameter place will change “a bus route in Country” to “a bus route in place, Country”. For example,

will change the first line of the template to:

Categories
By default the template will be included in the appropriate category for that country. However, adding the parameter no will exclude the template from all categories. Note that this parameter is not case sensitive: i.e. NO produces the same result as no.

Setting brt will include the template in Category:Bus rapid transit routemap templates and change the first line of the template to:

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