Template talk:suffix cat

Script support
It should also allow script support for non-Latin scripts. Mglovesfun (talk) 09:00, 13 September 2010 (UTC)

enhancements for language code and suffix
With new Lua string-processing functionality in mind, could this template (and other - topical, etymological etc.) recognize the required language code and suffix from the name of the category in which it is transcluded? It seems unnecessary to provide all that manually... --Ivan Štambuk (talk) 00:01, 19 July 2013 (UTC)
 * For simple cases, yes. But this template supports more complex names as well, and then things become a lot trickier to get right. How do you know where to separate the language name from the rest? 01:12, 19 July 2013 (UTC)
 * What do you mean by "more complex names" ? --Ivan Štambuk (talk) 01:24, 19 July 2013 (UTC)
 * Well, the word "words" can be replaced by a part of speech name. I thought they also supported adding a bit about scripts to the end of the name but apparently they don't. 01:30, 19 July 2013 (UTC)
 * From within the template you do know the value of these parameters, and how the category name is going to like. Where do fixed strings (" suffixed with ") begin and end, and where do variable parts fit. You can match against the value of pos= parameter (defaulting to "words") and extract language name. Once you have language name you can determine the script (or by inspecting the suffix itself in case of languages written in multiple scripts) and there goes another redundant parameter. These are just ideas of course... --Ivan Štambuk (talk) 01:37, 19 July 2013 (UTC)