Template talk:Header
New version
Although there are already several edits to this template it still doesn't work properly for the special cases C# and F#. For example the current version of the C# solution for Call a function displays the language name correctly but puts the solution into Category:C Sharp which is wrong because it should be put into Category:C sharp (s instead of S).
I therefore have written a new version which gets rid off the second parameter and allows users to use either C#, C sharp or C Sharp as the language name (similarly for F#): User:AndiPersti/Sandbox.
You can test this version on Special:ExpandTemplates. Just put {{User:AndiPersti/Sandbox|language}}
into the Input text field and press OK.
Any comments? --Andreas Perstinger (talk) 15:23, 13 March 2016 (UTC)
- Seems to work for the tests I ran, though I never noticed the original problem (and that surprises me -- category hast not been case sensitive for the example I have tried, though granted, I have not tried many examples...). I did notice an extra space in your new version. I don't know if that matters --Rdm (talk) 20:51, 13 March 2016 (UTC)