Difference between revisions of "Template:Languages/Lang"
Jump to navigation
Jump to search
Gally Young (talk | contribs) m (google links in grey ? :)) |
m (better lang support and in case someone's browser doesn't support css (unlikely but possible) (i'm writing a GM script that reads the @lang attribute, annoying if it's not there!)) |
||
Line 1: | Line 1: | ||
<includeonly> • {{#ifexist:{{{2}}}/{{{1}}}|[[{{{1}}}:{{{2}}}]]<span lang="{{{1}}}">[[:{{{2}}}/{{{1}}}|{{{3|}}}]]</span>|<span class="plainlinks">[http://translate.google.com/translate?hl={{{1}}}&sl={{{b}}}&tl={{{1}}}&u=http://wiki.secondlife.com/wiki/{{FULLPAGENAMEE}} <span title=" automated Google translation"><font color="#696969">{{{3|}}}</font></span>]</span><span style="display:none;">{{#if:{{#var:lang}}||[[Template:Needs Translation{{#var:ml-cat}}/{{{1|}}}]][[Category:Needs Translation{{#var:ml-cat}}/{{{1|}}}]]}}</span>}}</includeonly><noinclude> | <includeonly> • {{#ifexist:{{{2}}}/{{{1}}}|[[{{{1}}}:{{{2}}}]]<span lang="{{{1}}}" xml:lang="{{{1}}}">[[:{{{2}}}/{{{1}}}|{{{3|}}}]]</span>|<span lang="{{{1}}}" xml:lang="{{{1}}}" class="plainlinks">[http://translate.google.com/translate?hl={{{1}}}&sl={{{b}}}&tl={{{1}}}&u=http://wiki.secondlife.com/wiki/{{FULLPAGENAMEE}} <span title=" automated Google translation"><font color="#696969">{{{3|}}}</font></span>]</span><span style="display:none;">{{#if:{{#var:lang}}||[[Template:Needs Translation{{#var:ml-cat}}/{{{1|}}}|​]][[Category:Needs Translation{{#var:ml-cat}}/{{{1|}}}]]}}</span>}}</includeonly><noinclude> | ||
== Template == | == Template == | ||
''This sub-template doesn't display properly when not included. Please see [[Template:Languages]] for the complete version.'' | ''This sub-template doesn't display properly when not included. Please see [[Template:Languages]] for the complete version.'' |
Revision as of 08:16, 14 April 2009
Template
This sub-template doesn't display properly when not included. Please see Template:Languages for the complete version.
Usage
This template is designed to be used exclusively with Template:Multi-lang, it should never be included in a user page. The parameters are:
- Language code (e.g. fr)
- Page name
- Language name (e.g. Français)
This template should not be used anywhere except in the Languages template.
Origin
This template is originally taken from the MediaWiki web site.