Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (updating template names) |
m (wiki-typo) |
||
Line 1: | Line 1: | ||
<includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[../spa|Español]]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[../deu|Deutsch]]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}}} | <includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[../spa|Español]]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[../deu|Deutsch]]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}}} English]||}}|}}</div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
=== No styling === | === No styling === |
Revision as of 20:10, 13 February 2007
Usage
No styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|spa=*
|deu=*
|eng=*
|}}
Produces:
Other languages: [[../deu|Deutsch]] English
With styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}
Produces
Other languages: [[../deu|Deutsch]] English