Rosetta Code:Village Pump/Language template enhancements: Difference between revisions

→‎Language template wishlist: language tags: Simply make it a template parameter
(Updated page, announced free-for-all on language template page.)
(→‎Language template wishlist: language tags: Simply make it a template parameter)
Line 16:
* Helpful literature (I'm hoping to help fund RC's server and service expenses based referral/affiliate links, so be aware that this might get changed to that purpose.)
* Language tag (If someone has a good idea how to do this, I'm all ears. It's non-trivial to map backwards from a language name to the appropriate GeSHi language file, as some languages have duplicate files, and most languages on Rosetta Code aren't supported at all.)
** The simplest solution would be to just have an optional list of language tags passed as optional template argument. That is, you could e.g. include the template in the Java category as <nowiki>{{language|java, java5}}</nowiki>, and the result would be that a line "Language tags: java, java5" appeared in the box. --[[User:Ce|Ce]] 07:02, 15 May 2009 (UTC)
973

edits