Template talk:Language/archives/MultiPage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Just fixed the timestamp)
Line 2: Line 2:


==uselang vs subpage==
==uselang vs subpage==
{{Message|user=Pee|time=0:00, 16 Feb 2022|I don't understand why this template is designed to link to some strange "'''uselang'''" page rather than a language subpage as documented. Also, if it was done as documented, why is english a subpage of an english title main page? Just curious. Great work on the template, and general site maintenance, by the way, we've needed it.}}
{{Message
| user = Pee
| time = 0:00, 16 Feb 2023
| edited = 0:04, 16 Feb 2023
| I don't understand why this template is designed to link to some strange "'''uselang'''" page rather than a language subpage as documented. Also, if it was done as documented, why is english a subpage of an english title main page? Just curious. Great work on the template, and general site maintenance, by the way, we've needed it.
}}


{{Message|user=Max34|time=1:57, 16 Feb 2023|{{code|style=1|uselang}} is just an interface language setting, not a link. There is also a {{code|style=2|&#123;&#123;[[Template:uselang|uselang]]&#125;&#125;}} template on the site, which allows you to determine which interface language the user has. When opening a page that uses {{code|style=2|MultiPage}}, a user will see this page in the language of his interface, if this article is of course translated into it, if not, it will display a small message about this and show the English version of the article. The English language also has its own subpage, because if you put the text in the main article, you won't be able to remove it to replace it with the translated article.<br>
{{Message
| user = Max34
| time = 1:57, 16 Feb 2023
| {{code|style=1|uselang}} is just an interface language setting, not a link. There is also a {{code|style=2|&#123;&#123;[[Template:uselang|uselang]]&#125;&#125;}} template on the site, which allows you to determine which interface language the user has. When opening a page that uses {{code|style=2|MultiPage}}, a user will see this page in the language of his interface, if this article is of course translated into it, if not, it will display a small message about this and show the English version of the article. The English language also has its own subpage, because if you put the text in the main article, you won't be able to remove it to replace it with the translated article.<br>
For example, this method will remove the need for suffixes in all links. The language subpages will be exclusively technical pages that will already be displayed on the target page, depending on the interface language specified in the user settings.<br>
For example, this method will remove the need for suffixes in all links. The language subpages will be exclusively technical pages that will already be displayed on the target page, depending on the interface language specified in the user settings.<br>
So far, this template is not fully completed, so some things may not be very convenient right now. At the moment, there is an idea to add instead of an edit button, a small drop-down list with all the necessary buttons to work with pages (edit, purge, etc.).}}
So far, this template is not fully completed, so some things may not be very convenient right now. At the moment, there is an idea to add instead of an edit button, a small drop-down list with all the necessary buttons to work with pages (edit, purge, etc.).
}}

Revision as of 01:34, 18 February 2023

Icon-message-48px.png
This is the discussion page of Template:Language/archives/MultiPage. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

uselang vs subpage

(using Template:Message)  I don't understand why this template is designed to link to some strange "uselang" page rather than a language subpage as documented. Also, if it was done as documented, why is english a subpage of an english title main page? Just curious. Great work on the template, and general site maintenance, by the way, we've needed it.  --Pee (talk) 0:00, 16 Feb 2023 (UTC)


(using Template:Message)  uselang is just an interface language setting, not a link. There is also a {{uselang}} template on the site, which allows you to determine which interface language the user has. When opening a page that uses MultiPage, a user will see this page in the language of his interface, if this article is of course translated into it, if not, it will display a small message about this and show the English version of the article. The English language also has its own subpage, because if you put the text in the main article, you won't be able to remove it to replace it with the translated article.
For example, this method will remove the need for suffixes in all links. The language subpages will be exclusively technical pages that will already be displayed on the target page, depending on the interface language specified in the user settings.
So far, this template is not fully completed, so some things may not be very convenient right now. At the moment, there is an idea to add instead of an edit button, a small drop-down list with all the necessary buttons to work with pages (edit, purge, etc.).  --Max34 (talk) 1:57, 16 Feb 2023 (UTC)