Difference between revisions of "Template:Translatable template"

From Veloopti Help
Jump to: navigation, search
m (fix)
(comvert to LUA)
Line 1: Line 1:
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|-1}}|{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}
+
<includeonly>{{#invoke:Template translation{{{sandbox|}}}|renderTranslatedTemplate|uselang={{{uselang|}}}|namespace={{{namespace|}}}|template={{#if:{{{noshift|}}}|{{{template}}}|{{{1}}}}}|noshift={{{noshift|}}}<!-- all other numbered or named parameters are found by the module using the parent frame -->}}</includeonly><noinclude>{{documentation}}</noinclude>
  |{{ {{{1}}} }}
 
  |{{#ifexist:Template:{{{1}}}/{{#titleparts:{{FULLPAGENAME}}|1|-1}}
 
    |{{ {{{1}}}/{{#titleparts:{{FULLPAGENAME}}|1|-1}} }}
 
    |{{#ifexist:Template:{{{1}}}/en
 
      |{{ {{{1}}}/en }}
 
      |{{ {{{1}}} }}
 
    }}
 
  }}
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Revision as of 07:28, 20 May 2014

50px Template documentation[create]