Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (wiki-typo) |
m (trying a method that doesn't use magic words) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{#var:article-lang}}|eng|{{#var-define:article-lang-root| | <includeonly>{{#ifeq:{{#var:article-lang}}|eng|{{#var-define:article-lang-root|./|{{#var-define:article-lang-root|../}}}}<div style="white-space:normal;{{#ifeq:{{{1}}}}|||{{{1}}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{#var:article-lang-root}}/spa|Español]]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{#var:article-lang-root}}/deu|Deutsch]]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{#var:article-lang-root}}|English]]||}}|}}</div></includeonly><noinclude> | ||
{{#vardefine:article-lang|eng}} | {{#vardefine:article-lang|eng}} | ||
{{:User:SignpostMarv Martin/Sandbox/Template:multi-lang | {{:User:SignpostMarv Martin/Sandbox/Template:multi-lang |