Template talk:British Rail Class link

Latest comment: 27 days ago by Danners430 in topic Template data

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

Template data

edit

Just noticed while using the template with the visual editor that there is no template data or parameter names listed - is it worth getting these added? Danners430 (talk) 14:29, 7 November 2024 (UTC)Reply