Template talk:Lang
Implementing the non-en
parameter
I'm currently working on an automatic updater for {{Translation switching}}
templates, checking the languages present in all {{lang}}
templates. To make this effective, we have to enforce the wiki policy of adding all languages to the {{lang}}
template even if the inputs are equal (as a cheap example, {{lang|en=Soldier|de=Soldier|fr=Soldier}}
). Though the new parameter could be useful for those cases as well, it's intended for the more technical uses of {{lang}}
, for example as seen on {{Cosmetic Nav}}
with {{Lang|en=50%|ru=60%}}
or on {{Item infobox}}
for {{lang|ar=float:left; margin: 0.5em 1 0.5em 0em;}}
. It's obvious that adding the other 20/21 languages with the exact same content would result in an unnecessary mess. I'd therefore propose implementing a new parameter that is invoked if the non-en
parameter is specified and the language case requested is not specified. { TidB | t | c | wt } 14:54, 12 June 2016 (PDT)