Template talk:If lang link

From Kerbal Space Program Wiki
Jump to: navigation, search

Problems when used in Categories

Just noticed that this template doesn't work properly in language subpages of categories. For example in the translated versions of Category:Celestials the language bar shows the page as English and the celestials boxes don't link to the translated pages. --dgelessus (talk, contribs) 16:08, 26 May 2013 (CDT)

What are the “celestial boxes”? And btw: Add a colon before a category/media link to link it only and not add it for real. I fixed it here but without this it looks … strange ^^ — xZise [talk] 16:29, 26 May 2013 (CDT)
Do you mean {{Celestial Bodies}}? At the moment in the category namespaces {{SUBPAGENAME}} doesn't work which is used by {{lang}}, {{if lang}}, …. Maybe User:N3X15 will enable it also for the category namespace (which would also enable {{languages}}). But at the moment there is only the possibility to use the {{{force}}} parameter of the template (like in Category:Celestials/ru. — xZise [talk] 16:34, 26 May 2013 (CDT)
I've just tried adding "|force=de" behind the templates on Category:Celestials/de. Doesn't seem to work. On Category:Celestials/ru it doesn't work (anymore) either. — Preceding unsigned comment added by Dgelessus (talkcontribs)
The translation doesn't work yet. But the links are now to the German ones (there are actually red links). — xZise [talk] 11:19, 27 May 2013 (CDT)
Thanks for fixing that. The red links aren't bad in my opinion. They help to find pages that have to be translated ;) --dgelessus (talk, contribs) 11:33, 27 May 2013 (CDT)
*cough* I didn't fix anything (at least not recently here or {{Celestial Bodies}}). And I didn't want to said that the red links were bad, but as in English all celestial bodies have an article if not working all links should blue. — xZise [talk] 11:45, 27 May 2013 (CDT)
So the links got fixed on their own? o_O whatever... --dgelessus (talk, contribs) 11:58, 27 May 2013 (CDT)