Wikipedia:Templates for discussion/Log/2022 December 31
Appearance
colored letter span
- Template:Class A (talk · history · transclusions · logs · subpages)
- Template:Class B (talk · history · transclusions · logs · subpages)
- Template:Class C (talk · history · transclusions · logs · subpages)
- Template:Class D (talk · history · transclusions · logs · subpages)
- Template:Class G (talk · history · transclusions · logs · subpages)
- Template:Rookie (talk · history · transclusions · logs · subpages)
- Template:National (talk · history · transclusions · logs · subpages)
- Template:Champ (talk · history · transclusions · logs · subpages)
- Template:Trophy (talk · history · transclusions · logs · subpages)
I propose merging the templates {{Class A}} / {{Class B}} / {{Class C}} / {{Class D}} / {{Class G}} together, as they are mostly identical, except for the letter displayed and background color. They could also gain a more identifiable name since "Class A", "Class B", "Class C", "Class D", "Class G" mean a whole lot of things. I suggest {{Motorsports class tag}} that takes a single parameter, the class name, and outputs the current various square color letters. This will also allow expansion for other classes than these 5, and merging in of other such templates. The class name would be a selector to choose the display text and colors that are defined in the template. -- 64.229.90.28 (talk) 03:44, 31 December 2022 (UTC)
- 64.229.90.28, and {{Class G}}? — Qwerfjkltalk 03:45, 31 December 2022 (UTC)
- Yes, oops, sorry, I missed that one. That one as well -- 64.229.90.28 (talk) 03:54, 31 December 2022 (UTC)
- UPDATED to include {{Class G}} that I missed when I first wrote this up. -- 64.229.90.28 (talk) 03:56, 31 December 2022 (UTC)
- Yes, oops, sorry, I missed that one. That one as well -- 64.229.90.28 (talk) 03:54, 31 December 2022 (UTC)
- Support - all we need is a single template, with one parameter. i.e. {{Motorsports class tag|A}} or {{Motorsports class tag|B}} or whatever the class happens to be. SSSB (talk) 10:41, 31 December 2022 (UTC)
- NOTE I found two more of these {{Rookie}} and {{National}} ; exceedingly unclear names; I suggest these also be merged together with the other 5 -- 64.229.90.28 (talk) 22:36, 31 December 2022 (UTC)
- And I found two more. Merge, replace, and delete per nom. --Izno (talk) 02:45, 2 January 2023 (UTC)
- {{Master}} should also fall under this proposal (which I wholeheartedly support) H4MCHTR (talk) 11:21, 2 January 2023 (UTC)