Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
(wiki-typo) |
(testing tweaks to article root dirs.) |
||
Line 1: | Line 1: | ||
<includeonly><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|{{BASEPAGENAME}}}}|}}<div {{#ifeq:{{{1}}}}|||style="{{{1}}}">{{#ifeq:{{#var:article-lang}}|en|This article is available in different languages<br />|}} | ||
{{#ifeq:{{#var:article-lang}}| | {{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{#var:article-lang-root}}/spa|Español]]||}}|}} | ||
{{#ifeq:{{#var:article-lang}}| | {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{#var:article-lang-root}}/deu|Deutsch]]||}}|}} | ||
{{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{#var:article-lang-root}}/eng|English]]||}}|}} | |||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
{{#vardefine:article-lang| | {{#vardefine:article-lang|eng}} | ||
{{:User:SignpostMarv Martin/Sandbox/Template:multi-lang | {{:User:SignpostMarv Martin/Sandbox/Template:multi-lang | ||
| | |spa=* | ||
| | |deu=* | ||
|eng=* | |||
|}} | |}} | ||
</noinclude> | </noinclude> |