Jump to content

Template talk:Sclass2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

tfd

[edit]

Someone please tfd-tag this to accompany {{sclass-}} at Wikipedia:Templates for discussion/Log/2012 October 10#Template:Sclass-. Br'er Rabbit (talk) 18:27, 10 October 2012 (UTC)[reply]

Done --Redrose64 (talk) 20:43, 10 October 2012 (UTC)[reply]

Edit request

[edit]

This is a copy of a request that I placed at WT:SHIPS. That request has gone unanswered for more than a fortnight. So:

I have finished the {{sclass}} family of templates. The newest and last member of the family is {{sclass2-}} for use with hyphenated article titles when the ship class is named for a common attribute: {{Sclass2|Flower|corvette}} produces: Flower-class corvette.
In the relatively recent past, the {{sclass}} family of templates was nominated for deletion because the original templates {{sclass}} and {{sclass2}} and the new {{sclass-}} templates were all forks - copies of the original {{sclass}}. Because of that, I created {{sclass/core}} which does all of the formatting for the four templates. Two of the templates, {{Sclass}} and {{Sclass2}} use {{sclass/core}} while the other two do not. {{sclass}} and {{sclass2}} are protected so I can't replace them with the sandbox versions that use {{sclass/core}}.
Test cases for all of the {{sclass}} templates are at the testcases page. Are there any admins who would be willing to move {{sclass/sandbox}} to {{sclass}} and {{sclass2/sandbox}} to {{sclass2}}?

Trappist the monk (talk) 16:22, 7 March 2013 (UTC)[reply]

 Done, per discussion at template talk:sclass. Chris Cunningham (user:thumperward) (talk) 11:21, 19 March 2013 (UTC)[reply]

Adjacent tags uncool

[edit]

This template puts two tags next to each other, which violates MOS:SEAOFBLUE. For example, if you put {{sclass2|Tribal|frigate}} you get [[Tribal-class frigate|Tribal-class]] [[frigate]]. To comply with SEAOFBLUE, the template should generate [[Tribal-class frigate]]. Isaac Rabinovitch (talk) 15:56, 24 February 2025 (UTC)[reply]

Rendering of this template is at the discretion of the editor. If you want [[Tribal-class frigate]] use:
{{sclass2|Tribal|frigate|1}}Tribal-class frigate
See the template documentation for other alternative renderings.
Trappist the monk (talk) 17:53, 24 February 2025 (UTC)[reply]
This isn't about "editor discretion." It's about the fact that thousands of pages are noncompliant with MOS:SEAOFBLUE because they use this template. All of these pages could be made compliant simply by changing the template default. I could do that myself, but obviously I shouldn't make this kind of change without starting a discussion. Which is what I'm doing here. Isaac Rabinovitch (talk) 13:47, 25 February 2025 (UTC)[reply]
If you want to achieve some sort of reasonable consensus, you might be better served by raising this issue at WT:SHIPS. There are eight editors watching this backwater page; there are 356 editors watching WT:SHIPS.
Trappist the monk (talk) 15:17, 25 February 2025 (UTC)[reply]
Thanks. Isaac Rabinovitch (talk) 16:13, 25 February 2025 (UTC)[reply]