Jump to content

Template talk:British Rail Class link

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Template talk:BRC/doc)

Type options

[edit]

Is there a way that the different variants of each class can be displayed within the link - as in the / followed by a number will appear as part of the link and not plain text beside it? Cloudbound (talk) 16:07, 26 December 2015 (UTC)[reply]

@Cloudbound: done. Use is now {{brc|378||2}} to produce Class 378/2. The second parameter can be modified as per the usual ways; the third parameter allows any integer between 0 and 9, otherwise returns the usual. Note that the link is still to the class page, not to any subclass. -mattbuck (Talk) 17:10, 26 December 2015 (UTC)[reply]
That's ideal, thank you. Cloudbound (talk) 17:14, 26 December 2015 (UTC)[reply]
Or you could create redirects, as in Class 33/0 and Class 33/1. --Redrose64 (talk) 00:51, 27 December 2015 (UTC)[reply]