Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (wiki-typo) |
m (I think I got it this time) |
||
Line 1: | Line 1: | ||
<includeonly><div style="white-space:normal;{{#ifeq:{{{style}}}|||{{{style}}}|}}">Other languages: | <includeonly><div style="white-space:normal;{{#ifeq:{{{style}}}|||{{{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}}|spa||{{#ifeq:{{{spa}}}|*|[[{{{1}}}/spa|{{ISO 639-3/native|spa}}] | {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{{1}}}|{{ISO 639-3/native|eng}}]]|}}|}} | ||
</div></includeonly><noinclude> | |||
== Usage == | == Usage == | ||
=== No styling === | === No styling === |
Revision as of 18:46, 15 February 2007
Usage
No styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life
|spa=*
|deu=*
|eng=*
|}}
Produces:
Other languages: [[Help:Getting started in Second Life
/deu|Deutsch]] [[Help:Getting started in Second Life |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: [[Help:Getting started in Second Life
/deu|Deutsch]] [[Help:Getting started in Second Life |English]]