Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (one bug goes away and another crops up...) |
m (trying to work around the relative linking thing) |
||
Line 1: | Line 1: | ||
<includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}} | <includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}}} {{ISO 639-3/native|spa}}]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}}} {{ISO 639-3/native|deu}}]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}}} {{ISO 639-3/native|eng}}]||}}|}}</div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
=== No styling === | === No styling === |
Revision as of 20:18, 13 February 2007
Usage
No styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|spa=*
|deu=*
|eng=*
|}}
Produces:
With styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}
Produces