Difference between revisions of "Template:Languages/Title"

From Deep Blue Robotics Wiki
Jump to: navigation, search
m
(Add documentation; I'll add the rest of the languages later (or somebody else can before then). Also, <3 Splarka)
Line 1: Line 1:
{{#switch:{{{1}}}
+
<onlyinclude>{{#switch:{{{1}}}
 
|=Languages:
 
|=Languages:
 
|Languages=Languages:
 
|Languages=Languages:
Line 17: Line 17:
  
 
|#default={{msg:MediaWiki:yourlanguage/{{{1}}}}}
 
|#default={{msg:MediaWiki:yourlanguage/{{{1}}}}}
}}
+
}}</onlyinclude>
 +
 
 +
== Documentation ==
 +
The cases are all poached from [http://translatewiki.net/w/i.php?title=Special:Translations/loginlanguagelabel&namespace=8 here].  We can't just transclude that system message, because it includes a <tt>$1</tt>.  Instead, the default case transcludes a fairly similar system message that doesn't have a <tt>$1</tt>.

Revision as of 07:53, 20 June 2009

{{#switch:{{{1}}} |=Languages: |Languages=Languages: |MediaWiki=Languages: |af=Taal: |ar=:اللغة |bcc=:زبان |bg=Език: |br=Yezh : |ca=Llengua: |cs=Jazyk: |da=Sprog: |de=Sprache: |el=Γλώσσα: |en=Language:


|#default={{msg:MediaWiki:yourlanguage/{{{1}}}}} }}

Documentation

The cases are all poached from here. We can't just transclude that system message, because it includes a $1. Instead, the default case transcludes a fairly similar system message that doesn't have a $1.