Template talk:Doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(use {{Message}})
Line 1: Line 1:
== Default Language ==
== Default Language ==
I really like the language bar with the flags of all available docs at the top right, but what I really don't like is that the doc language defaults to the client's language even though a doc in the client's language does not exist. It even becomes ridiculous when the page uses {{tlc|doc|nolang{{=}}1}}, such that you get a non-existent doc and you don't even get the languages bar to switch to english. Please fix?<br>--[[User:Popcorn|Popcorn]] ([[User talk:Popcorn|talk]]) 10:26, 23 January 2023 (PST)
{{Message|I really like the language bar with the flags of all available docs at the top right, but what I really don't like is that the doc language defaults to the client's language even though a doc in the client's language does not exist. It even becomes ridiculous when the page uses {{tlc|doc|nolang{{=}}1}}, such that you get a non-existent doc and you don't even get the languages bar to switch to english. Please fix?|user=Popcorn|time=10:26, 23 January 2023}}


: Fixed. Actually, I was just thinking about doing this. The thing is, I'm currently working on another template that will probably get rid of 90% of the mess with languages, both in templates and documentation. If everything works, the {{code|outlined|&#123;&#123;&#123;suf&#125;&#125;&#125;}} parameter will no longer be needed anywhere. And I also removed the {{code|nolang}} parameter. I don't even remember why I added it.<br>--[[User:Max34|Max34]]&ensp;23:38, 23 January 2023 (UTC+4)
{{Message|Fixed. Actually, I was just thinking about doing this. The thing is, I'm currently working on another template that will probably get rid of 90% of the mess with languages, both in templates and documentation. If everything works, the {{code|outlined|&#123;&#123;&#123;suf&#125;&#125;&#125;}} parameter will no longer be needed anywhere. And I also removed the {{code|nolang}} parameter. I don't even remember why I added it.|user=Max34|time=23:38, 23 January 2023}}




There is a problem that the template can't load the documentation of default language when the translations don't exist and using the {{param|tag=kbd|content}} parameter. Please add support for the parameter.<br>--[[User:1416006136|大康]] ([[User talk:1416006136|talk]]) 13:52, 23 January 2023 (PST)
{{Message|There is a problem that the template can't load the documentation of default language when the translations don't exist and using the {{param|tag=kbd|content}} parameter. Please add support for the parameter.|user=1416006136|time=13:52, 23 January 2023}}

Revision as of 04:31, 21 February 2023

Default Language

(using Template:Message) I really like the language bar with the flags of all available docs at the top right, but what I really don't like is that the doc language defaults to the client's language even though a doc in the client's language does not exist. It even becomes ridiculous when the page uses {{doc|nolang=1}}, such that you get a non-existent doc and you don't even get the languages bar to switch to english. Please fix? --Popcorn (talk) 10:26, 23 January 2023 (UTC)


(using Template:Message) Fixed. Actually, I was just thinking about doing this. The thing is, I'm currently working on another template that will probably get rid of 90% of the mess with languages, both in templates and documentation. If everything works, the outlined parameter will no longer be needed anywhere. And I also removed the nolang parameter. I don't even remember why I added it. --Max34 (talk) 23:38, 23 January 2023 (UTC)


(using Template:Message) There is a problem that the template can't load the documentation of default language when the translations don't exist and using the {{{content}}} parameter. Please add support for the parameter. --1416006136 (talk) 13:52, 23 January 2023 (UTC)