Template:Pagelang2/doc
Appearance
This is a documentation subpage for Template:Pagelang2. It contains usage information, categories and other content that is not part of the original Template page. |
This template returns the language of the current page. Itâs similar to {{PAGELANGUAGE}}, but it works on manually translated pages as well ({{PAGELANGUAGE}} always returns âenâ there). Itâs also similar to {{pagelang}}, but it returns âenâ on non-translated pages (i.e. originals of translated pages), while {{pagelang}} returns nothing on such pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
page | 1 | Page to determine language for, usually not needed (by default the current page) | Page name | optional |
Examples
[edit]{{pagelang2}}
en
{{pagelang2|Page name}}
en
{{pagelang2|Page name/ja}}
ja