Difference between revisions of "Template:Translation"

From Veloopti Help
Jump to: navigation, search
m (cat)
m (18 revisions imported)
 
(10 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{#ifeq:
 
{{#ifeq:
   {{lc:{{#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}}}}}}
+
| {{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]]
 
[[Category:Translation]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:42, 20 July 2017

50px Template documentation[create]