Difference between revisions of "Template:Translatable template name"

From MakerFX Wiki!
Jump to: navigation, search
(convert to LUA)
Line 1: Line 1:
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|-1}}|{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}
+
<includeonly>{{#invoke:Template translation{{{sandbox|}}}|getTranslatedTemplate|uselang={{{uselang|}}}|namespace={{{namespace|}}}|template={{#if:{{{noshift|}}}|{{{template}}}|{{{1}}}}}|noshift={{{noshift|}}}<!-- there are no other parameters here -->}}</includeonly><noinclude>{{documentation}}</noinclude>
  |{{{1}}}
 
  |{{#ifexist:{{{ns|Template}}}:{{{1}}}/{{#titleparts:{{FULLPAGENAME}}|1|-1}}
 
    |{{{1}}}/{{#titleparts:{{FULLPAGENAME}}|1|-1}}
 
    |{{#ifexist:{{{ns|Template}}}:{{{1}}}/en
 
      |{{{1}}}/en
 
      |{{{1}}}
 
    }}
 
  }}
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Revision as of 08:44, 20 May 2014

Script error: No such module "documentation".