Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (whoops) |
(semi-hardcoded workaround for annoyance) |
||
Line 1: | Line 1: | ||
<includeonly><div style="white-space:normal;{{#ifeq:{{{ | <includeonly><div style="white-space:normal;{{#ifeq:{{{style}}}|||{{{1}}}|}}">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 == | == Usage == | ||
=== No styling === | === No styling === | ||
<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 | |||
|spa=* | |spa=* | ||
|deu=* | |deu=* | ||
Line 11: | Line 12: | ||
{{#vardefine:article-lang|spa}} | {{#vardefine:article-lang|spa}} | ||
{{multi-lang | {{multi-lang | ||
|Help:Getting started in Second Life | |||
|spa=* | |spa=* | ||
|deu=* | |deu=* | ||
Line 19: | Line 21: | ||
<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 | ||
|border:1px dashed #f00; | |Help:Getting started in Second Life | ||
|style=border:1px dashed #f00; | |||
|spa=* | |spa=* | ||
|deu=* | |deu=* | ||
Line 28: | Line 31: | ||
{{#vardefine:article-lang|spa}} | {{#vardefine:article-lang|spa}} | ||
{{multi-lang | {{multi-lang | ||
|border:1px dashed #f00; | |Help:Getting started in Second Life | ||
|style=border:1px dashed #f00; | |||
|spa=* | |spa=* | ||
|deu=* | |deu=* |
Revision as of 18:32, 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
|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
|English]]