Template:Pagelang: Difference between revisions

Content deleted Content added
m 12 revisions imported from foundation:Template:Pagelang
use new Lua method in Module:Main
 
(3 intermediate revisions by the same user not shown)
Line 1:
{{#invoke:Main|page_language}}<noinclude>{{Documentation}}
{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{#titleparts:{{PAGENAME}}|1}}||{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{lc:{{PAGENAME:{{#titleparts:{{PAGENAME}}||-1}}}}}}|{{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|{{urlencode:{{#titleparts:{{PAGENAME}}||-1}}}}|{{#ifeq:{{lc:{{#titleparts:{{PAGENAME}}||-1}}}}|{{ucfirst:{{lc:{{#titleparts:{{PAGENAME}}||-1}}}}}}||{{#switch:{{#titleparts:{{PAGENAME}}||-1}}|doc|layout|sandbox|testcases=|#default={{#titleparts:{{PAGENAME}}||-1}}}}}}}}}}}}<noinclude>{{Documentation}}</noinclude>
[[Category:Utility templates]]</noinclude>