Difference between revisions of "Template:Translation"

From FamiLAB Wiki
Jump to: navigation, search
m (1 revision imported)
(split)
(18 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{#ifeq:
 
{{#ifeq:
   {{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 -->
+
   {{#titleparts:{{FULLPAGENAME}}|1|-1}}
| {{lc:{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}}}<!-- broken test; fails on some languages whose  autonym is identical to their lowercase code -->
+
|{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}
|
+
  |
| /{{#titleparts:{{FULLPAGENAME}}|1|-1}}
+
  |{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Translation]]
 
 
</noinclude>
 
</noinclude>

Revision as of 21:38, 4 February 2009

{{#ifeq:

 {{#titleparts:Template:Translation|1|-1}}
|{{#titleparts:template:translation|1|-1}}
  |
  |{{#titleparts:Template:Translation|1|-1}}}}

}}

Documentation icon Template documentation[create]