Template talk:Header: Difference between revisions

From Rosetta Code
Content added Content deleted
(Suggest a new version)
(No difference)

Revision as of 15:24, 13 March 2016

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)