Difference between revisions of "Template:Languages/Lang"
Jump to navigation
Jump to search
(used new variable) |
(Streamlined and added new support for Needs Translation backlinks) |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifexist | <includeonly>{{#ifexist:{{{2}}}/{{{1}}}| • <span lang="{{{1}}}">[[:{{{2}}}/{{{1}}}|{{{3|}}}]]</span>|<span style="display:none;">{{#if:{{#var:lang}}||[[Needs Translation{{{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.'' | ||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
This template is designed to | 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) | * '''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. | This template should not be used anywhere except in the Languages template. |
Revision as of 23:42, 25 June 2008
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.