Difference between revisions of "Template:Multi-lang"

From Second Life Wiki
Jump to navigation Jump to search
m (added namespace)
(d'oh. english link will never be displayed on english article and so on and so forth.)
Line 1: Line 1:
<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 />|}}
<includeonly><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}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}/spa|Español]]||}}|}}
{{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{#var:article-lang-root}}/deu|Deutsch]]||}}|}}
{{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}/deu|Deutsch]]||}}|}}
{{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{#var:article-lang-root}}/eng|English]]||}}|}}
{{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}|English]]||}}|}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
{{#vardefine:article-lang|eng}}
{{#vardefine:article-lang|eng}}

Revision as of 18:35, 13 February 2007