Template:Pagelang: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Verdy p mNo edit summary |
imported>Verdy p m even more restrictive version: only allows lowercase ASCII letters,digits,minus-hyphen or full stop (idempotent if urlencoded), and must start by a letter. |
||
Line 1: | Line 1: | ||
{{# |
{{#ifeq: {{#titleparts:{{PAGENAME}}||-1}} |
||
| {{#titleparts:{{PAGENAME}}|1}} |
| {{#titleparts:{{PAGENAME}}|1}} |
||
| |
|||
⚫ | |||
| {{#ifeq: {{#titleparts:{{PAGENAME}}||-1}} |
|||
| {{lc:{{PAGENAME|{{#titleparts:{{PAGENAME}}||-1}}}}}} |
|||
⚫ | |||
⚫ | |||
| {{urlencode:{{#titleparts:{{PAGENAME}}||-1}}}} |
|||
| {{#ifeq: {{lc:{{#titleparts:{{PAGENAME}}||-1}}}} |
|||
| {{ucfirst:{{lc:{{#titleparts:{{PAGENAME}}||-1}}}}}} |
|||
| |
|||
| {{#titleparts:{{PAGENAME}}||-1}} |
|||
⚫ |
Revision as of 16:56, 30 January 2014
[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. |