Difference between revisions of "Template:Translatable template"
From FamiLAB Wiki
m |
(use #titleparts instead) |
||
Line 1: | Line 1: | ||
− | {{#ifeq:{{ | + | {{#ifeq:{{#titleparts:{{FULLPAGENAME}}|1|-1}}|{{#language:{{#titleparts:{{FULLPAGENAME}}|1|-1}}}}<!-- |
-->|{{ {{{1}}} }}<!-- | -->|{{ {{{1}}} }}<!-- | ||
− | -->|{{#ifexist:Template:{{{1}}}/{{ | + | -->|{{#ifexist:Template:{{{1}}}/{{#titleparts:{{FULLPAGENAME}}|1|-1}}<!-- |
− | -->|{{ {{{1}}}/{{ | + | -->|{{ {{{1}}}/{{#titleparts:{{FULLPAGENAME}}|1|-1}} }}<!-- |
-->|{{ {{{1}}}/en }}<!-- | -->|{{ {{{1}}}/en }}<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 10:10, 15 May 2012
{{#ifeq:{{#titleparts:Template:Translatable template|1|-1}}|{{#titleparts:template:translatable template|1|-1}}|{{ {{{1}}} }}|{{#ifexist:Template:{{{1}}}/{{#titleparts:Template:Translatable template|1|-1}}|{{ {{{1}}}/{{#titleparts:Template:Translatable template|1|-1}} }}|{{ {{{1}}}/en }}}}}}

Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |