Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (fixing bug with english language) |
(adding defaulting to english (i think)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{#var:article-lang}}|eng|{{#vardefine:article-lang-root|}}|{{#vardefine: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}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}|English]]||}}|}}</div></includeonly><noinclude> | <includeonly>{{#ifeq:{{#var:article-lang|}}||{{#vardefine:article-lang|eng}}|}}{{#ifeq:{{#var:article-lang}}|eng|{{#vardefine:article-lang-root|}}|{{#vardefine: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}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}|English]]||}}|}}</div></includeonly><noinclude> | ||
{{#vardefine:article-lang|spa}} | {{#vardefine:article-lang|spa}} | ||
{{:User:SignpostMarv Martin/Sandbox/Template:multi-lang | {{:User:SignpostMarv Martin/Sandbox/Template:multi-lang |
Revision as of 19:42, 13 February 2007
Other languages: [[../deu|Deutsch]] English