Template:Pagelang: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
imported>Verdy p
Created page with "{{#switch:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}=en|#default={{#titleparts:{{PAGENAME}}||-1}}}}<noinclude>{{Documentation}}</noinclude>"
 
use new Lua method in Module:Main
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch:{{#titleparts:{{PAGENAME}}||-1}}|{{PAGENAME}}=en|#default={{#titleparts:{{PAGENAME}}||-1}}}}<noinclude>{{Documentation}}</noinclude>
{{#invoke:Main|page_language}}<noinclude>{{Documentation}}
[[Category:Utility templates]]</noinclude>

Latest revision as of 14:57, 1 May 2019

en

[edit] [⧼code-rev-purge-link⧽] Template documentation

Get the language of the current page

The above documentation is transcluded from Template:Pagelang/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.