Difference between revisions of "Template:Translation"
From FamiLAB Wiki
m (Reverted edits by Pizzedd(Musician) (talk) to last revision by Jdforrester (WMF)) |
(Without /en) |
||
Line 3: | Line 3: | ||
| {{lc:{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}}}<!-- broken test; fails on some languages whose autonym is identical to their lowercase code --> | | {{lc:{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}}}<!-- broken test; fails on some languages whose autonym is identical to their lowercase code --> | ||
| | | | ||
− | | /{{#titleparts:{{FULLPAGENAME}}|1|-1}} | + | | {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|-1}}|en||/{{#titleparts:{{FULLPAGENAME}}|1|-1}}}} |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} |
Revision as of 09:32, 28 July 2016
{{#ifeq:
{{#titleparts:template:translation|1|-1}}
| {{#titleparts:template:translation|1|-1}} | | {{#ifeq:{{#titleparts:Template:Translation|1|-1}}|en||/{{#titleparts:Template:Translation|1|-1}}}} }}

Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |