Difference between revisions of "Template:Multi-lang"
Jump to navigation
Jump to search
m (User:SignpostMarv Martin/Sandbox/Template:multi-lang moved to Template:Multi-lang: bugs seem to be ironed out) |
m (attempting other english-lang fix) |
||
Line 1: | Line 1: | ||
<includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[../spa|Español]]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[../deu|Deutsch]]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*| | <includeonly><div style="white-space:normal;{{#ifeq:{{{1}}}|||{{{1}}}|}}">Other languages:{{#ifeq:{{#var:article-lang}}|spa||{{#ifeq:{{{spa}}}|*|[[../spa|Español]]||}}|}} {{#ifeq:{{#var:article-lang}}|deu||{{#ifeq:{{{deu}}}|*|[[../deu|Deutsch]]||}}|}} {{#ifeq:{{#var:article-lang}}|eng||{{#ifeq:{{{eng}}}|*|[{{fullurl:{{NAMESPACE}}:{{BASEPAGENAME}}}}|English]]||}}|}}</div></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
=== No styling === | === No styling === |
Revision as of 20:08, 13 February 2007
Usage
No styling
{{#vardefine:article-lang|spa}}
{{:User:SignpostMarv Martin/Sandbox/Template:multi-lang
|spa=*
|deu=*
|eng=*
|}}
Produces:
Other languages: [[../deu|Deutsch]] [https://wiki.secondlife.com/wiki/Template:Multi-lang
With styling
{{#vardefine:article-lang|spa}}
{{:User:SignpostMarv Martin/Sandbox/Template:multi-lang
|border:1px dashed #f00;
|spa=*
|deu=*
|eng=*
|}}
Produces
Other languages: [[../deu|Deutsch]] [https://wiki.secondlife.com/wiki/Template:Multi-lang