Difference between revisions of "Template:Translation"

From Veloopti Help
Jump to: navigation, search
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 -->
|{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}
+
| {{lc:{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}}}<!-- broken test; fails on some languages whose  autonym is identical to their lowercase code -->
  |
+
|
  |{{#titleparts:{{FULLPAGENAME}}|1|-1}}
+
| /{{#titleparts:{{FULLPAGENAME}}|1|-1}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 +
 +
[[Category:Translation]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:42, 20 July 2017

50px Template documentation[create]