Difference between revisions of "Template:Languages/Lang"

From Second Life Wiki
Jump to navigation Jump to search
(getting rid of the languagebar (as announced): part 2)
m (Undo revision 866752 by Mako Nozaki (Talk))
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#ifexist:{{{2}}}/{{{1}}}|[[{{{1}}}:{{{2}}}]]|<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}}}]]{{#ifeq:{{FULLPAGENAME}}|{{{2}}}|[[Category:Pages with translation/{{{1}}}]]}}|<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.''

Latest revision as of 02:47, 16 April 2010

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.