Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (I think I got it this time) |
(added slight workaround) |
||
Line 1: | Line 1: | ||
<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}}]]|}}|}} | <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}}|eng||{{#ifeq:{{{eng}}}|*|[[{{{1}}}|{{ISO 639-3/native|eng}}]]|}}|}} | ||
{{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[[{{{1}}}|{{ISO 639-3/native|eng}}]]|}}|}} | |||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
Line 6: | Line 5: | ||
<div style="font-size:125%"><code><pre><nowiki>{{#vardefine:article-lang|spa}} | <div style="font-size:125%"><code><pre><nowiki>{{#vardefine:article-lang|spa}} | ||
{{multi-lang | {{multi-lang | ||
|Help:Getting started in Second Life | |Help:Getting started in Second Life|style= | ||
|spa=* | |spa=* | ||
|deu=* | |deu=* | ||
Line 14: | Line 13: | ||
{{#vardefine:article-lang|spa}} | {{#vardefine:article-lang|spa}} | ||
{{multi-lang | {{multi-lang | ||
|Help:Getting started in Second Life | |Help:Getting started in Second Life|style= | ||
|spa=* | |spa=* | ||
|deu=* | |deu=* | ||
Line 23: | Line 22: | ||
<div style="font-size:125%;"><code><pre><nowiki>{{#vardefine:article-lang|spa}} | <div style="font-size:125%;"><code><pre><nowiki>{{#vardefine:article-lang|spa}} | ||
{{multi-lang | {{multi-lang | ||
|Help:Getting started in Second Life | |Help:Getting started in Second Life|style=border:1px dashed #f00; | ||
|style=border:1px dashed #f00; | |||
|spa=* | |spa=* | ||
|deu=* | |deu=* | ||
Line 33: | Line 31: | ||
{{#vardefine:article-lang|spa}} | {{#vardefine:article-lang|spa}} | ||
{{multi-lang | {{multi-lang | ||
|Help:Getting started in Second Life | |Help:Getting started in Second Life|style=border:1px dashed #f00; | ||
|style=border:1px dashed #f00; | |||
|spa=* | |spa=* | ||
|deu=* | |deu=* |
Revision as of 18:48, 15 February 2007
Usage
No styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=
|spa=*
|deu=*
|eng=*
|}}
Produces:
With styling
{{#vardefine:article-lang|spa}}
{{multi-lang
|Help:Getting started in Second Life|style=border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}
Produces