Difference between revisions of "Template:Translatable template"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
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 15:28, 20 May 2014

<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create] [purge]