Difference between revisions of "Template:Multi-lang"

From Second Life Wiki
Jump to navigation Jump to search
m
(Emptying so that Template:Languages can replace this.)
Line 1: Line 1:
<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>
== Usage ==
=== No styling ===
<div style="font-size:125%"><code><pre><nowiki>{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=
|spa=*
|deu=*
|eng=*
|}}</nowiki></pre></code></div>
Produces:
{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=
|spa=*
|deu=*
|eng=*
|}}


=== With styling ===
<div style="font-size:125%;"><code><pre><nowiki>{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}</nowiki></pre></code></div>
Produces
{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}
[[Category:i18n articles]]
</noinclude>

Revision as of 07:12, 4 November 2007