Template:BRC/doc
< Template:BRC
Jump to navigation
Jump to search
Revision as of 10:26, 27 December 2015 by imported>Redrose64 (→Usage: tidier)
| This is a documentation subpage for Template:BRC. It contains usage information, categories and other content that is not part of the original template page. |
Usage
This template links to the British Rail Class #, e.g. {{BRC|158}} produces a link to Class 158.
There are several ways of display, changed by adding a second parameter, e.g. {{BRC|158|f}}
- f - full link, eg British Rail Class 158
- fs - full link plural, eg British Rail Class 158s
- c (default) - class link, eg Class 158
- cs - class plural, eg Class 158s
- n - number only, eg 158
- ns - number plural, eg 158s
You can also add a third parameter to indicate subclasses, but this is not linked. E.g.
{{BRC|158|ns|9}}produces 158/9s{{BRC|158||0}}produces Class 158/0