Template:Pagelang
Revision as of 01:45, 10 November 2019 by Template>Shirayuki (This template should return empty string if the pagename does not end with "/en" for consistency)
{{#ifeq:{{#invoke:Template translation|getLanguageSubpage|}}|en |{{#ifeq:{{#titleparts:Pagelang||-1}}|en
|{{#invoke:Template translation|getLanguageSubpage|}} }}
|{{#invoke:Template translation|getLanguageSubpage|}} }} {{#switch:<translate></translate> | = {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation|noshift=1}}
}}{{#if:| }}