Template:Language/archives/Lang2/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 6: | Line 6: | ||
! style="min-width:25em" | Features !! style="min-width:5em" | {{T|Lang}} !! style="min-width:5em" | {{T|Lang2}} (this template) !! style="min-width:5em" | {{T|MultiPage}} !! style="min-width:5em" | {{T|Page}} | ! style="min-width:25em" | Features !! style="min-width:5em" | {{T|Lang}} !! style="min-width:5em" | {{T|Lang2}} (this template) !! style="min-width:5em" | {{T|MultiPage}} !! style="min-width:5em" | {{T|Page}} | ||
|- bgcolor="#3A3A3A" | |- bgcolor="#3A3A3A" | ||
| Language subpage location || English: None<br>Other languages: {{Code|Page_name{{:}}Lang}} || English: None<br>Other languages: {{Code|Page_name/Lang}} || All, including English are located in {{Code|Page_name/Lang}}. || Rely on {{T|Strings}} or Autolang | | Language subpage location || English: None (base page)<br>Other languages: {{Code|Page_name{{:}}Lang}} || English: None (base page)<br>Other languages: {{Code|Page_name/Lang}} || All, including English are located in {{Code|Page_name/Lang}}. || Rely on {{T|Strings}} or Autolang | ||
|- bgcolor="#3A3A3A" | |- bgcolor="#3A3A3A" | ||
| Requires purge? || {{Yes|Base page only, in order to display the language<br>icons if the translated page (except English) is edited or created. {{Confirm}}}} || {{Yes|Same as {{T|Lang}}{{confirm}}.}} || {{Yes|Required}} || {{No}} | | Requires purge? || {{Yes|Base page only, in order to display the language<br>icons if the translated page (except English) is edited or created. {{Confirm}}}} || {{Yes|Same as {{T|Lang}}{{confirm}}.}} || {{Yes|Required}} || {{No}} |
Revision as of 08:43, 3 July 2024

This is a documentation subpage for Template:Language.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
A translation template. Successor to both {{Lang}} (itself was forked to create {{Lang2}}) and {{MultiPage}}, while solving most of the limitations in both templates. Currently the template is largely incomplete and cannot be used in any pages until bugs or issues is fixed. Also this template only support very few languages as it was being rewritten to only support languages that are most popular, and to cleaning up code before adding new languages.
Differences
Usage
Todo: Documentations. English page should be on base page, while others are located in subpage, with /language-ids suffix at the end of the page name (Example: Half-Life 2/vi, Half-Life 2/zh, etc... just like {{MultiPage}}). Pages begin with prefix Lang-ID is not supported at the moment as it's requires alot of testing and this template may or may not work with them.