Difference between revisions of "Template:Multi-lang"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<div style="white-space:normal;{{{style|}}}">Other languages: {{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{{1}}}/spa|{{ISO 639-3/native|spa}}]]|}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{{1}}}/deu|{{ISO 639-3/native|deu}}]]|}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{{1}}}|{{ISO 639-3/native|eng}}]]|}}|}}
<includeonly><div style="white-space:normal;{{{style|}}}">Other languages: {{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[{{{1}}}/spa|{{ISO 639-3/native|spa}}]]|}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[{{{1}}}/deu|{{ISO 639-3/native|deu}}]]|}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{{1}}}|{{ISO 639-3/native|eng}}]]|}}|}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
== Usage ==
== Usage ==

Revision as of 12:03, 2 March 2007

Usage

No styling

{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=
|spa=*
|deu=*
|eng=*
|}}

Produces:

Other languages: Deutsch English

With styling

{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}

Produces

Other languages: Deutsch English