Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (grr.) |
(trying the article-lang-root declaration again.) |
||
Line 1: | Line 1: | ||
<includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}}|||{{{1}}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{ | <includeonly>{{#ifeq:{{#var-define:article-lang}}|eng|{{#var-define:article-lang-root|{{FULLPAGENAME}}}}|{{#var-define:article-lang-root|{{NAMESPACE}}:{{BASEPAGENAME}}}}}}<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 | ||
Line 6: | Line 6: | ||
|eng=* | |eng=* | ||
|}} | |}} | ||
{{SUBJECTPAGENAME}} | |||
<hr /> | |||
{{FULLPAGENAME}} | |||
</noinclude> | </noinclude> |