Difference between revisions of "Template:Languages/Lang"

From Second Life Wiki
Jump to navigation Jump to search
(adding category support to help seperate whats needed)
(Assume crash positions, adding the categories)
Line 1: Line 1:
<includeonly>{{#ifexist:{{{2}}}/{{{1}}}|&nbsp;&bull;&nbsp;<span lang="{{{1}}}">[[:{{{2}}}/{{{1}}}|{{{3|}}}]]</span>|<span style="display:none;">{{#if:{{#var:lang}}||[[Needs Translation/{{#var:ml-cat}}{{{1|}}}]]}}</span>}}</includeonly><noinclude>
<includeonly>{{#ifexist:{{{2}}}/{{{1}}}|&nbsp;&bull;&nbsp;<span lang="{{{1}}}">[[:{{{2}}}/{{{1}}}|{{{3|}}}]]</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 07:33, 24 October 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.