Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
(testing tweaks to article root dirs.) |
m (added namespace) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{#var:article-lang}}|{{eng}}|{{#var-define:article-lang-root|{{FULLPAGENAME}}}}|{{#var-define:article-lang-root|{{BASEPAGENAME}}}}|}}<div {{#ifeq:{{{1}}}}|||style="{{{1}}}">{{#ifeq:{{#var:article-lang}}|en|This article is available in different languages<br />|}} | <includeonly>{{#ifeq:{{#var:article-lang}}|{{eng}}|{{#var-define:article-lang-root|{{FULLPAGENAME}}}}|{{#var-define:article-lang-root|{{NAMESPACE}}:{{BASEPAGENAME}}}}|}}<div {{#ifeq:{{{1}}}}|||style="{{{1}}}">{{#ifeq:{{#var:article-lang}}|en|This article is available in different languages<br />|}} | ||
{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{#var:article-lang-root}}/spa|Español]]||}}|}} | {{#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}}|deu||{{#ifeq:{{{deu}}}|*|[[{{#var:article-lang-root}}/deu|Deutsch]]||}}|}} |