Template talk:Doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== 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...")
 
mNo edit summary
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)
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)
: 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)

Revision as of 12:39, 23 January 2023

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 {{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 (PST)

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 23:38, 23 January 2023 (UTC+4)