Difference between revisions of "Template:Pagelang"

From WPRDC Wiki
Jump to navigation Jump to search
>Matiia
m (Reverted edits by 91.251.211.253 (talk) to last revision by Guillaume (WMF))
>Shirayuki
(This template should return empty string if the pagename does not end with "/en" for consistency)
 
(43 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{{#ifeq:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|{{#titleparts:{{{1|{{PAGENAME}}}}}|1}}||{{#ifeq:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|{{lc:{{PAGENAME:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}}}}}|{{#ifeq:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|{{urlencode:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}}}|{{#ifeq:{{lc:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}}}|{{ucfirst:{{lc:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}}}}}||{{#switch:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|doc|layout|sandbox|testcases|init|preload=|#default={{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}}}}}}}}}}}<noinclude>{{Documentation}}</noinclude>
{{#ifeq:{{#invoke:Template translation|getLanguageSubpage|{{{1|}}}}}|en
|{{#ifeq:{{#titleparts:{{{1|{{PAGENAME}}}}}||-1}}|en
  |{{#invoke:Template translation|getLanguageSubpage|{{{1|}}}}}
  }}
|{{#invoke:Template translation|getLanguageSubpage|{{{1|}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 01:45, 10 November 2019

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.