Template:Languages/Title: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} |  • <span lang="{{{1}}}">{{#if: {{{2|}}}|...")
 
mNo edit summary
 
Line 1: Line 1:
<includeonly>{{#ifexist: {{#if: {{{2|}}} | {{{2}}} | {{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}/{{{1}}} | &nbsp;&bull;&#32;<span lang="{{{1}}}">{{#if: {{{2|}}}|[[{{{2}}}/{{{1}}}|{{#language:{{{1}}}}}]]| [[:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1}}}|{{#language:{{{1}}}}}]]}}</span>|<span></span>}}</includeonly><noinclude>
<onlyinclude>{{#switch:{{{1}}}
== Template ==
|=Languages:
''This sub-template doesn't display properly when not included. Please see [[Template:Languages]] for the complete version.''
|Languages=Languages:
|MediaWiki=Languages:
|af=Taal:
|aln=Gjuha:
|am=ቋምቋ፦
|an=Idioma:
|ang=Sprǣc:
|ar=:اللغة
|arc=ܠܫܢܐ:
|arn=Dungun:
|arz=:اللغة
|as=ভাষা:
|ast=Llingua:
|avk=Ava:
|ay=Aru:
|az=Dil:
|bat-smg=Kalba:
|bcc=:زبان
|bcl=Tataramon:
|be=Мова:
|be-tarask=Мова:
|bg=Език:
|bn=ভাষা:
|br=Yezh :
|bs=Jezik:
|ca=Llengua:
|cdo=Ngṳ̄-ngiòng:
|ce=Мотт:
|ceb=Pinulongan:
|ch=Lengguahe:
|ckb-arab=:زمان
|co=Lingua:
|crh-cyrl=Тиль:
|crh-latn=Til:
|cs=Jazyk:
|cu=ѩꙁꙑ́къ :
|cv=Чĕлхе:
|cy=Iaith:
|da=Sprog:
|de=Sprache:
|diq=Zıwan:
|dsb=Rěc:
|ee=Gbe:
|el=Γλώσσα:
|en=Language:
|eo=Lingvo:
|es=Idioma:
|et=Keel:
|eu=Hizkuntza:
|ext=Palra:
|fa=:زبان
|fi=Kieli:
|fo=Mál:
|fr=Langue:
|frc=Langue:
|frp=Lengoua:
|fur=Lenghe:
|fy=Taal:
|ga=Teanga:
|gag=Dil:
|gan-hans=语言:
|gan-hant=語言:
|gl=Lingua:
|gn=Ñe'ẽ:
|got=Razda:
|grc=Γλῶσσα:
|gsw=Sproch:
|gu=ભાષા:
|gv=Çhengey:
|hak=Ngî-ngièn:
|haw=Kou 'ōlelo:
|he=שפה:
|hi=भाषा:
|hif-latn=Bhasa:
|hr=Jezik:
|hsb=Rěč:
|ht=Lang:
|hu=Nyelv:
|hy=Լեզու.
|ia=Lingua:
|id=Bahasa:
|ie=Lingue:
|ilo=Lengguahe:
|io=Linguo:
|is=Tungumál:
|it=Lingua:
|ja=言語:
|jv=Basa:
|ka=ენა:
|kaa=Til:
|kab=Tutlayt:
|kg=Ndinga:
|kiu=Zon:
|kk-arab=:ٴتىل
|kk-cyrl=Тіл:
|kk-latn=Til:
|km=ភាសា៖
|kn=ಭಾಷೆ:
|ko=언어:
|ksh=Sproch:
|ku-latn=Ziman:
|kv=Кыв:
|kw=Yeth:
|ky=Тил:
|la=Lingua:
|lb=Sprooch:
|lfn=Lingua:
|li=Taol:
|lij=Lengoa:
|loz=Zwa Siselect:
|lt=Kalba:
|lv=Valoda:
|lzh=語:
|mdf=Кяль:
|mg=fiteny:
|mhr=Йылме:
|mk=Јазик:
|ml=ഭാഷ:
|mn=Хэл:
|mr=भाषा:
|ms=Bahasa:
|mt=Lingwa:
|mwl=Lhéngua:
|my=ဘာသာ:
|myv=Кель:
|nah=Tlahtōlli:
|nap=Lengua:
|nds=Spraak:
|nds-nl=Taal:
|ne=भाषा:
|new=भाषा:
|nl=Taal:
|nn=Språk:
|no=Språk:
|nso=Polelo:
|oc=Lenga:
|os=Æвзаг:
|pa=ਭਾਸ਼ਾ:
|pam=Amanu:
|pdc=Schprooch:
|pdt=Sproak:
|pl=Język:
|pms=Lenga:
|pnb=بولی:
|pnt=Γλώσσαν:
|prg=Bilā:
|ps=ژبه:
|pt=Língua:
|pt-br=Idioma:
|qu=Rimay:
|rm=Lingua:
|ro=Limba:
|roa-tara=Lénga:
|ru=Язык:
|sa=भाषा:
|sah=Омугун тыла:
|sc=Limba:
|scn=Lingua:
|sco=Leid:
|sdc=Linga:
|se=Giella:
|sei=Itom:
|sh=Jezik:
|shi=tutlayt:
|si=භාෂාව:
|sk=Jazyk:
|sl=Jezik:
|sli=Sproache:
|so=Luqada:
|sq=Gjuha:
|sr-ec=Језик:
|sr-el=Jezik:
|srn=Tongo:
|ss=Lúlwîmi:
|stq=Sproake:
|su=Basa:
|sv=Språk:
|sw=Lugha:
|szl=Godka:
|ta=மொழி:
|te=భాష:
|tet=Lian:
|tg-cyrl=Забон:
|th=ภาษา:
|ti=ቋንቋ:
|tk=Dil:
|tl=Wika:
|to=Lea:
|tr=Dil:
|tt-cyrl=Тел:
|tyv=Дыл:
|ug-arab=:تىل
|ug-latn=Til:
|uk=Мова:
|vec=Lengua:
|vep=Kel’:
|vi=Ngôn ngữ:
|vo=Pük:
|vro=Kiil:
|wa=Lingaedje:
|war=Yinaknan:
|wo=Làkk:
|wuu=语言:
|xal=Келн:
|xh=Ulwimi:
|xmf=ნინა:
|yi=שפראך:
|yo=Èdè:
|yue=語言:
|zea=Taele:
|zh-hans=语言:
|zh-hant=語言:
|zu=Ulimi:


== Usage ==
|#default=Language:
}}</onlyinclude>


This template is designed to simplify [[Template:Languages]], by allowing a simpler syntax for adding new languagesEach language is included by calling this template with the following parameters:
== 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>.
* '''Language code''' (e.g. fr)
<noinclude>[[Category:Language templates]]</noinclude>
* (optional) '''Page name''' - if not supplied the page is automatically worked out based on where the language template is included.
 
This template should not be used anywhere except in the Languages template.
[[Category:Language templates]]
</noinclude>

Latest revision as of 00:27, 27 January 2014

Language:

Documentation[edit source]

The cases are all poached from here. We can't just transclude that system message, because it includes a $1.