Difference between revisions of "Template:Translation"

From FamiLAB Wiki
Jump to: navigation, search
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}}}} }}

Documentation icon Template documentation[create]