Difference between revisions of "Template:Translatable template name"

From WPRDC Wiki
Jump to navigation Jump to search
>Kaganer
>Kaganer
(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 15:44, 20 May 2014

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.