Difference between revisions of "Template:Multi-lang"

From Second Life Wiki
Jump to navigation Jump to search
m (wiki-typo)
m (one bug goes away and another crops up...)
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}}}} English]||}}|}}</div></includeonly><noinclude>
<includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{ISO 639-3/native|spa}}]]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{ISO 639-3/native|deu}}]]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{NAMESPACE}}:{{BASEPAGENAME}}|{{ISO 639-3/native|eng}}]]||}}|}}</div></includeonly><noinclude>
== Usage ==
== Usage ==
=== No styling ===
=== No styling ===

Revision as of 20:15, 13 February 2007

Usage

No styling

{{#vardefine:article-lang|spa}}
{{multi-lang
|spa=*
|deu=*
|eng=*
|}}

Produces:

Other languages: Deutsch English

With styling

{{#vardefine:article-lang|spa}}
{{multi-lang
|border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}

Produces

Other languages: Deutsch English