Template:Language/archives/Lang2/doc
Jump to navigation
Jump to search

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.

This Template page is actively undergoing a major edit.
As a courtesy, please do not edit this Template while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
As a courtesy, please do not edit this Template while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.
The person who added this notice will be listed in its edit history should you wish to contact them.
Additional Notes: This template is not recommended to be used in any pages yet, as it's need to be tested.
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
Parameters, Examples and Usage
Parameter | Description | Example |
---|---|---|
{{{1}}} | The page that the template create multi-language links according to. It is required for other translation page. The contents of it should be the full name of the page the template is being applied on, including namespaces such as Help:, Template:, User:, etc. It should not include any language suffixes, however, such as /ru, /es, /zh, etc.
![]() ![]() ![]() |
|
{{{2}}} ~ {{{8}}} | These parameters are used to link subpages (such as L4D2 Level Design/Add-on Notes, L4D Level Design/Panic Events, Half-Life: Alyx Workshop Tools/Animgraph/AnimGraph Introduction, etc.). Just replace "/" with "|" to link correctly. See the examples for details how to use them.
![]() |
|
{{{title}}} | This parameter can be used to change the page title (logically, into the text that should be displayed for the language of the page).
![]() |
|
{{{$title}}} | This parameter can be used to change the text of the page titlebar and place the title under the <code> tag - {{Lang2|Template:Lang2|$title=$model}}. | |
{{{notitle}}} | This parameter can be used to change the title of the site page itself, but not for the title of the article itself. | |
{{{noborder}}} | This parameter can be set to 1 to hide the border around lang icons. If you don't plan on using it, don't bother defining it. | |
{{{select}}} | The selection mode of the title. 1 is the one-click selection (just like clicking the "1"). | |
{{{up}}} | Todo: Document it.
|
[Todo] |
Currently Supported Languages
- Coming soon.
- Also, this template automatically adds a page language category at the bottom of the page.