Difference between revisions of "Template:Translation"
From Veloopti Help
m (moved Template:Istranslation to Template:Translation: fits better with the function) |
m (18 revisions imported) |
||
(17 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq: | {{#ifeq: | ||
− | {{#titleparts:{{FULLPAGENAME}}|1|-1}} | + | {{lc:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}<!-- broken test; we should restrict to accept only subpages that could match a lowercase language code; keep any uppercase letter meaning not a language 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}} | |
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
+ | |||
+ | [[Category:Translation]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:42, 20 July 2017
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. |