Template:Pagelang2: Difference between revisions
From Bonkipedia
[[mw:]]>Mainframe98 (Sync with special:diff/4844954, per Topic:Whnlzbfg1xy9ia0a) |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:06, 12 November 2022
en
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
{{pagelang2}}
en
{{pagelang2|Page name}}
en
{{pagelang2|Page name/ja}}
ja