Template:Pagelang2

From Linux Web Expert

Revision as of 07:35, 2 October 2021 by imported>Mainframe98 (Sync with special:diff/4844954, per Topic:Whnlzbfg1xy9ia0a)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

en

Template documentation

<templatedata> { "description": "This template returns the language of the current page. It’s similar to en, but it works on manually translated pages as well (en always returns ‘en’ there). It’s also similar to , but it returns ‘en’ on non-translated pages (i.e. originals of translated pages), while returns nothing on such pages.", "format": "inline", "params": { "1": { "label": { "en": "page", "cs": "stránka" }, "description": { "en": "Page to determine language for, usually not needed (by default the current page)", "cs": "Stránka k určení jazyka, obvykle není potřeba (ve výchozím nastavení aktuální stránka)" }, "type": "wiki-page-name" } } } </templatedata>

Examples

  • {{pagelang2}}

en

  • {{pagelang2|Page name}}

en

  • {{pagelang2|Page name/ja}}

ja

See also