Šablonas:Kalbos rašmenys
|aa=Latn
|aak=Latn
|aao=Arab
|aau=Latn
|abk=Cyrl
|abd=Latn
|abe=Latn
|abm=Latn
|abq=Cyrl
|abz=Latn
|ace=Latn
|ach=Latn
|acv=Latn
|acw=Arab
|acx=Arab
|ada=Latn
|ade=Latn
|adt=Latn
|ady=Cyrl
|adz=Latn
|ae=Avst
|aeb=Arab
|aer=Latn
|af=Latn
|afb=Arab
|agj=Ethi
|agx=Cyrl
|ain=Kana
|aii=Syrc
|aiw=Latn
|aji=Latn
|ajp=Arab
|ale=Latn
|ali=Latn
|alq=GreatLakes
|alq2=Latn
|alr=Cyrl
|alu=Latn
|aly=Latn
|ak=Latn
|ake=Latn
|akk=Xsux
|akl=Latn
|akz=Latn
|alt=Cyrl
|am=Geez
|amk=Latn
|amn=Latn
|amu=Latn
|amx=Latn
|an=Latn
|and=Latn
|ang=Futhorc
|ang2=Latn
|anq=Latn
|anq2=Deva
|ani=Cyrl
|apc=Arab
|apd=Arab
|apm=Latn
|apw=Latn
|apy=Latn
|aqc=Cyrl
|ar=Arab
|arc=Aram
|are=Latn
|arl=Latn
|arn=Latn
|arp=Latn
|arq=Arab
|art-html=Latn
|arw=Latn
|ary=Arab
|arz=Arab
|as=Beng
|ase=Sgnw
|ast=Latn
|atj=Latn
|aus-dar=Latn
|aus-gab=Latn
|aus-gun=Latn
|aus-syd=Latn
|aus-wem=Latn
|aus-wwg=Latn
|av=Cyrl
|avk=Latn
|awa=Deva
|awk=Latn
|axm=Armn
|ay=Latn
|ayl=Arab
|ayp=Arab
|az=Latn
|az2=Arab
|az3=Cyrl
|azb=Arab
|ba=Cyrl
|bal=Arab
|ban=Latn
|ban2=Bali
|bar=Latn
|bcl=Latn
|bdy=Latn
|be=Cyrl
|bew=Latn
|bg=Cyrl
|bh=Deva
|bho=Deva
|bhw=Latn
|bi=Latn
|bik=Latn
|bjz=Latn
|bku=Buhd
|bla=Blac
|bla2=Latn
|blt=Tavt
|bm=Latn
|bn=Beng
|bo=Tibt
|bpl=Latn
|bpy=Beng
|br=Latn
|brc=Latn
|brg=Latn
|brh=Arab
|brx=Deva
|brx2=Latn
|bs=Latn
|bs2=Cyrl
|bsq=Bass
|bua=Cyrl
|bug=Bugi
|bug2=Latn
|bvb=Latn
|ca=Latn
|ca-val=Latn
|caa=Latn
|cab=Latn
|cad=Latn
|cax=Latn
|cbk=Latn
|ccc=Latn
|cdo=ChinTradSimp
|ce=Cyrl
|ceb=Latn
|cel-gau=Latn
|cel-gau2=Grek
|ch=Latn
|chc=Latn
|chg=Arab
|chk=Latn
|chl=Latn
|chm=Cyrl
|chn=Latn
|cho=Latn
|chr=Cher
|chy=Latn
|cia=Hang
|cic=Latn
|cim=Latn
|ciw=Latn
|cjy=ChinTradSimp
|cjs=Cyrl
|ckb=Arab
|ckt=Cyrl
|cmn=ChinTradSimp
|co=Latn
|com=Latn
|coo=Latn
|cop=Copt
|cpg=Grek
|cpi=Latn
|cr=Cans
|cr2=Latn
|crh=Latn
|crn=Latn
|crp-tpr=Cyrl
|cs=Latn
|csb=Latn
|css=Latn
|ctg=Beng
|ctu=Latn
|cu=Cyrs
|cu2=Cyrl
|cui=Latn
|cuk=Latn
|cv=Cyrl
|cy=Latn
|da=Latn
|dak=Latn
|dar=Cyrl
|dbl=Latn
|de=Latn
|dga=Latn
|dgc=Latn
|dgd=Latn
|dgi=Latn
|dif=Latn
|din=Latn
|dlg=Cyrl
|dlm=Latn
|dng=Cyrl
|doz=Latn
|drl=Latn
|dsb=Latn
|dsn=Latn
|dty=Deva
|dua=Latn
|due=Latn
|duj=Latn
|dum=Latn
|duo=Latn
|duy=Latn
|dv=Thaa
|dyg=Latn
|dz=Tibt
|ee=Latn
|efi=Latn
|egy=Egyp
|egl=Latn
|el=Grek
|ems=Latn
|en=Latn
|enm=Latn
|eo=Latn
|es=Latn
|esh=Arab
|ess=Cyrl
|esu=Latn
|et=Latn
|ett=Ital
|eu=Latn
|evn=Cyrl
|ext=Latn
|fa=fa-Arab
|fan=Latn
|ff=Latn
|fi=Latn
|fil=Latn
|fit=Latn
|fj=Latn
|fkv=Latn
|fla=Latn
|fo=Latn
|fon=Latn
|for=Latn
|fr=Latn
|frk=Latn
|frm=Latn
|frp=Latn
|fro=Latn
|frr=Latn
|fur=Latn
|fy=Latn
|ga=Latn
|gaa=Latn
|gag=Latn
|gay=Latn
|gan=ChinTradSimp
|gbb=Latn
|gbz=Arab
|gcf=Latn
|gcr=Latn
|gd=Latn
|gdm=Latn
|gem=Latn
|gez=Ethi
|gil=Latn
|gl=Latn
|gld=Cyrl
|glk=Arab
|gmh=Latn
|gml=Latn
|gmq-mno=Latn
|gmq-osw=Latn
|gmy=Linb
|gn=Latn
|gnd=Latn
|gni=Latn
|goh=Latn
|gor=Latn
|gos=Latn
|got=Goth
|grc=Grek
|gsw=Latn
|gu=Gujr
|gul=Latn
|gun=Latn
|gur=Latn
|gut=Latn
|gv=Latn
|gvf=Latn
|gwc=Arab
|gwi=Latn
|ha=Latn
|ha2=Arab
|haa=Latn
|hai=Latn
|hak=ChinTradSimp
|har=Ethi
|haw=Latn
|hch=Latn
|he=Hebr
|hi=Deva
|hif=Latn
|hil=Latn
|hit=Xsux
|hy=Armn
|hyw=Armn
|hmn=Latn
|hmn2=Hmng
|ho=Latn
|hop=Latn
|hr=Latn
|hrx=Latn
|hsb=Latn
|hsn=ChinTradSimp
|ht=Latn
|hu=Latn
|hur=Latn
|hus=Latn
|huv=Latn
|hwc=Latn
|hz=Latn
|ia=Latn
|iba=Latn
|id=Latn
|ie=Latn
|ig=Latn
|ii=Yiii
|ik=Latn
|ilo=Latn
|ims=Latn
|inb=Latn
|ine=Latn
|inh=Cyrl
|inz=Latn
|io=Latn
|is=Latn
|ish=Latn
|ist=Latn
|it=Latn
|itl=Cyrl
|iu=Inuk
|izh=Latn
|yap=Latn
|yaq=Latn
|yi=Hebr
|yii=Latn
|yij=Latn
|ykg=Cyrl
|ymm=Latn
|yo=Latn
|yoi=Kana
|yrk=Cyrl
|yua=Latn
|yue=ChinTradSimp
|yuf=Latn
|yur=Latn
|yux=Cyrl
|ja=Kanji
|ja2=Hiragana
|ja3=Katakana
|ja4=Latn
|jam=Latn
|jao=Latn
|jbo=Latn
|jiv=Latn
|jje=KoreHang
|jv=Latn
|jv2=Java
|jv3=Arab
|ka=GeorMkhe
|kaa=Latn
|kaa2=Cyrl
|kab=Latn
|kac=Latn
|kbc=Latn
|kbd=Cyrl
|kbp=Latn
|kbt=Latn
|kca=Cyrl
|kcn=Arab
|kda=Latn
|kdd=Latn
|kde=Latn
|kdj=Latn
|kdr=Cyrl
|kdr2=Latn
|kea=Latn
|kg=Latn
|kgg=Latn
|kgr=Latn
|khb=OldTalu
|khb2=Talu
|khb3=Thai
|khi-kun=Latn
|khv=Cyrl
|khw=Arab
|ki=Latn
|kic=Latn
|kiu=Latn
|kj=Latn
|kjg=Laoo
|kjh=Cyrl
|kjr=Latn
|kju=Latn
|kk=Latn
|kk2=Cyrl
|kk3=Arab
|kky=Latn
|kl=Latn
|kld=Latn
|kln=Latn
|km=Khmr
|kmr=Latn
|kmr2=Arab
|kmr3=Cyrl
|kms=Latn
|kn=Knda
|ko=KoreHang
|ko2=KoreHanj
|koi=Cyrl
|kok=Deva
|kpe=Latn
|kpg=Latn
|kpy=Cyrl
|kr=Latn
|krc=Cyrl
|krl=Latn
|ks=ks-Arab
|ks2=Deva
|ksh=Latn
|ksi=Latn
|ktn=Latn
|ku=Latn
|ku2=Arab
|ku3=Cyrl
|kud=Latn
|kum=Cyrl
|kv=Cyrl
|kw=Latn
|kxd=Latn
|ky=Cyrl
|ky2=Arab
|kyi=Latn
|kyu=Kali
|la=Latn
|lad=Latn
|lad2=Hebr
|lb=Latn
|lbe=Cyrl
|ldi=Latn
|lez=Cyrl
|lfn=Latn
|lg=Latn
|li=Latn
|lif=Limb
|lij=Latn
|liv=Latn
|lkt=Latn
|lld=Latn
|lmo=Latn
|ln=Latn
|lng=Runr
|lo=Laoo
|lo2=Thai
|loz=Latn
|lrc=Arab
|lre=Latn
|lt=Latn
|lt-vln=Latn
|ltg=Latn
|lu=Latn
|lua=Latn
|luo=Latn
|luy=Latn
|lv=Latn
|lvk=Latn
|lzh=ChinTrad
|lzz=Geor
|lzz2=Latn
|mad=Latn
|mai=Deva
|mam=Latn
|mas=Latn
|maz=Latn
|mba=Latn
|mbb=Latn
|mco=Latn
|mdf=Cyrl
|men=Latn
|men2=Mend
|mer=Latn
|meu=Latn
|mez=Latn
|mfe=Latn
|mg=Latn
|mga=Latn
|mgh=Latn
|mh=Latn
|mhn=Latn
|mhr=Cyrl
|mi=Latn
|mia=Latn
|mic=Latn
|min=Latn
|miq=Latn
|mk=Cyrl
|ml=Mlym
|mmg=Latn
|mn=Cyrl
|mn2=Mong
|mnc=Mong
|mnk=Latn
|mnp=ChinTradSimp
|mns=Cyrl
|mnw=Mymr
|mo=Latn
|mo2=Cyrl
|mod=Latn
|moe=Latn
|moh=Latn
|mpm=Latn
|mps=Latn
|mr=Deva
|mrj=Cyrl
|mrv=Latn
|ms=Latn
|msk=Latn
|msn-vur=Latn
|mt=Latn
|mth=Latn
|mtm=Cyrl
|mto=Latn
|mus=Latn
|mvi=Kana
|mvr=Latn
|mwf=Latn
|mwl=Latn
|mwp=Latn
|mww=Pahau
|mww2=NiekengPuacu
|mww3=Latn
|my=Mymr
|myh=Latn
|myp=Latn
|myv=Cyrl
|mzn=Arab
|na=Latn
|nah=Latn
|nai-pic=Latn
|nan=ChinTradSimp2
|nan2=Latn
|nap=Latn
|naq=Latn
|nay=Latn
|nb=Latn
|nbr=Latn
|nch=Latn
|nci=Latn
|nd=Latn
|nds=Latn
|nds-nl=Latn
|ne=Deva
|new=Deva
|ng=Latn
|ngu=Latn
|nha=Latn
|nhe=Latn
|nhg=Latn
|nhm=Latn
|nhn=Latn
|nhw=Latn
|nhx=Latn
|nio=Cyrl
|niu=Latn
|niv=Cyrl
|nl=Latn
|nlv=Latn
|nmn=Latn
|nn=Latn
|no=Latn
|nod=Lana
|nog=Cyrl
|non=FutYoun1
|non2=RuneMed1
|non3=Latn
|noo=Latn
|nov=Latn
|nr=Latn
|nrf=Latn
|nrf-gg=Latn
|nrf-je=Latn
|nrf-sr=Latn
|nrn=Latn
|nso=Latn
|ntj=Latn
|nv=Latn
|nxn=Latn
|ny=Latn
|nys=Latn
|obm=Phnx
|obt=Latn
|oc=Latn
|och=Hani
|odt=Latn
|ofs=Latn
|oge=Geor
|oj=Cans
|oj2=Latn
|ojb=Ojib
|ojb2=Latn
|ojc=Ojib
|ojc2=Latn
|ojg=Ojib
|ojg2=Latn
|ojp=Jpan
|ojs=Ojib
|ojs2=Latn
|ojw=Ojib
|ojw2=Latn
|oko=Kore
|olo=Latn
|om=Latn
|oma=Latn
|ood=Latn
|or=Orya
|orv=Cyrl
|os=Cyrl
|osa=Osag
|osc=Ital
|osp=Latn
|osx=Latn
|ota=ota-Arab
|ote=Latn
|otk=Orkh
|ovd=Latn
|owl=Latn
|pa=Guru
|pa2=Arab
|pad=Latn
|pag=Latn
|pal=Phli
|pam=Latn
|pap=Latn
|pau=Latn
|pcd=Latn
|pcm=Latn
|pdc=Latn
|pdt=Latn
|pfl=Latn
|peo=Xpeo
|pga=Arab
|phn=Phnx
|pi=Latn
|pi2=Deva
|pih=Latn
|pim=Latn
|pis=Latn
|pit=Latn
|pjt=pjt-Latn
|pl=Latn
|pld=Latn
|ple=Latn
|plz=Latn
|pms=Latn
|pmt=Latn
|pnb=Arab
|pnt=Grek
|pnt2=Latn
|pnt3=Cyrl
|pnw=Latn
|pos=Latn
|pot=Latn
|pox=Latn
|ppl=Latn
|ppm=Latn
|pqm=Latn
|prg=Latn
|pro=Latn
|prs=fa-Arab
|ps=Arab
|pt=Latn
|pua=Latn
|pwn=Latn
|quc=Latn
|quh=Latn
|qus=Latn
|quz=Latn
|qvi=Latn
|qwc=Latn
|qxs=Latn
|qya=Teng
|raj=Deva
|rap=Latn
|rar=Latn
|rgn=Latn
|rhg=RohiHani
|rm=Latn
|rmf=Latn
|rmy=Latn
|rmo=Latn
|rmq=Latn
|rn=Latn
|ro=Latn
|roa-gal=Latn
|roa-grn=Latn
|roa-jer=Latn
|roa-leo=Latn
|roa-opt=Latn
|roa-ptg=Latn
|roa-tar=Latn
|rom=Latn
|roo=Latn
|rop=Latn
|rtm=Latn
|ru=Cyrl
|rue=Cyrl
|ruo=Latn
|rup=Latn
|ruq=Latn
|rut=Cyrl
|rw=Latn
|ryu=Jpan
|sa=Deva
|sac=Latn
|sah=Cyrl
|sat=Olck
|saw=Latn
|saz=Saur
|saz2=Latn
|saz3=Taml
|saz4=Deva
|sbf=Latn
|sc=Latn
|scy=Latn
|scn=Latn
|sco=Latn
|sd=Arab
|sd2=Deva
|sdc=Latn
|sdn=Latn
|se=Latn
|sea=Latn
|see=Latn
|sei=Latn
|sem-amm=Phnx
|seu=Latn
|sg=Latn
|sga=Latn
|sgs=Latn
|sh=Cyrl
|sh2=Latn
|shh=Latn
|shi=Latn
|shn=Mymr
|shu=Arab
|si=Sinh
|sia=Latn
|simple=Latn
|sjd=Cyrl
|sje=Latn
|sjk=Latn
|sjt=Latn
|sju=Latn
|sjw=Latn
|sk=Latn
|sl=Latn
|sm=Latn
|sma=Latn
|smj=Latn
|smn=Latn
|sms=Latn
|sn=Latn
|so=Latn
|sov=Latn
|spx=Ital
|sq=Latn
|sr=Cyrl
|sr2=Latn
|src=Latn
|srn=Latn
|sro=Latn
|srq=Latn
|srs=Latn
|ss=Latn
|st=Latn
|sth=Latn
|stp=Latn
|stq=Latn
|str=Saan
|su=Latn
|su2=Sund
|sux=Xsux
|sv=Latn
|sva=Geor
|sve-vas=Latn
|sw=Latn
|swb=Latn
|swg=Latn
|syc=Syrc
|szy=Latn
|szl=Latn
|ta=Taml
|tab=Cyrl
|tar=Latn
|tay=Latn
|tcs=Latn
|tcy=Knda
|te=Telu
|tet=Latn
|tew=Latn
|tfn=Latn
|tg=Cyrl
|th=Thai
|thh=Latn
|ti=Geez
|tig=Ethi
|tiw=Latn
|tix=Latn
|tjs=Latn
|tk=Latn
|tkl=Latn
|tkr=Latn
|tkr2=Cyrl
|tl=Latn
|tly=Arab
|tly2=Latn
|tly3=Cyrl
|tmr=Hebr
|tn=Latn
|tna=Latn
|tnq=Latn
|to=Latn
|top=Latn
|tpi=Latn
|tpn=Latn
|tpw=Latn
|tr=Latn
|ts=Latn
|tsg=Latn
|tt=Cyrl
|tt2=Latn
|tts=Thai
|tum=Latn
|tvl=Latn
|tw=Latn
|twf=Latn
|ty=Latn
|tyv=Cyrl
|tzh=Latn
|tzj=Latn
|tzm=Tfng
|tzm2=Arab
|tzm3=Latn
|uby=Latn
|udi=Cyrl
|udm=Cyrl
|ug=Arab
|ug2=Latn
|ug3=Cyrl
|uk=Cyrl
|uga=Ugar
|ulk=Latn
|uln=Latn
|umb=Latn
|umu=Latn
|und=Zyyy
|unm=Latn
|ur=ur-Arab
|uz=Latn
|uz2=Cyrl
|vai=Vaii
|ve=Latn
|vec=Latn
|vep=Latn
|vi=Latn
|vls=Latn
|vma=Latn
|vmb=Latn
|vmk=Latn
|vmw=Latn
|vo=Latn
|vot=Latn
|vro=Latn
|wa=Latn
|wad=Latn
|wam=Latn
|waq=Latn
|war=Latn
|wba=Latn
|wbb=Latn
|wbp=Latn
|wbw=Latn
|wew=Latn
|wgy=Latn
|wim=Latn
|win=GreatLakes
|win2=Latn
|wiv=Latn
|wym=Latn
|wlm=Latn
|wo=Latn
|wrh=Latn
|wrp=Latn
|wuu=ChinTradSimp
|wyb=Latn
|xal=Cyrl
|xas=Cyrl
|xav=Latn
|xbc=Grek
|xcl=Armn
|xcr=Cari
|xdm=Phnx
|xeb=Xsux
|xh=Latn
|xhu=Xsux
|xlc=Lyci
|xld=Lydi
|xmf=GeorMkhe
|xmk=Grek
|xno=Latn
|xpg=Grek
|xpm=Latn
|xpo=Latn
|xpr=Prti
|xpu=Phnx
|xrn=Latn
|xsl=Latn
|xsr=Tibt
|xss=Latn
|xsv=Latn
|xta=Latn
|xum=Ital
|xur=Xsux
|xvn=Latn
|za=Latn
|za2=Zhua
|zai=Latn
|zav=Latn
|zaw=Latn
|zdj=Arab
|zdj2=Latn
|zea=Latn
|zen=Latn
|zh=ChinTradSimp
|zko=Latn
|zku=Latn
|zlw-opl=Latn
|zlw-slv=Latn
|zmg=Latn
|zpo=Latn
|zpq=Latn
|zro=Latn
|zu=Latn
|zun=Latn
|zza=Latn
|#default=Xyzy
[edit]
Dokumentacija
Šis šablonas grąžina rašmenų (abėcėlės) kodą pagal kalbos kodą.
Panaudojimas
taisytiThis template should be implemented into other templates, wherever an automatic script is necessary.
There are two foreseen instances where an automatic script code is used.
- Organization.
- Example: Categorizing the English language as written in the Latin script.
- Formatting.
- Example: Formatting Russian language characters with the appropriate Cyrillic fonts automatically.
Parameters
taisytiThis template requires only one unnamed parameter.
- When a language is written in only one script, the sole parameter is the language code.
- When a language is written in two or more scripts, the sole parameter is the language code to return a standard script; or, the language code closely followed by a number to return other scripts.
Examples
taisyti- English
- The English language is written in the Latin script.
- The English language is represented by the code en.
- The Latin script is represented by the code Latn.
- Therefore, {{Kalbos rašmenys|en}} returns Latn.
- Portuguese
- The Portuguese language is written in the Latin script.
- The Portuguese language is represented by the code pt.
- The Latin script is represented by the code Latn.
- Therefore, {{Kalbos rašmenys|pt}} returns Latn.
- Russian
- The Russian language is written in the Cyrillic script.
- The Russian language is represented by the code ru.
- The Cyrillic script is represented by the code Cyrl.
- Therefore, {{Kalbos rašmenys|ru}} returns Cyrl.
- Serbo-Croatian
- The Serbo-Croatian language is written in the Cyrillic and the Latin scripts.
- The Serbo-Croatian language is represented by the code sh.
- The Cyrillic script is represented by the code Cyrl.
- The Latin script is represented by the code Latn.
- Therefore, {{Kalbos rašmenys|sh}} returns Cyrl and {{Kalbos rašmenys|sh2}} returns Latn.
Mechanics
taisytiThis template uses a simple {{#switch:}} parser function to handle language codes and script codes.
EXAMPLES: 1. English language written in Latin script. |en=Latn 2. Serbo-Croatian language written in both Cyrillic and Latin scripts. |sh=Cyrl |sh2=Latn 3. Urdu language, written in Arabic script but using a particular script template called "ur-Arab". |ur=ur-Arab
When a language is written in more than one script, please place the most used first, so it will be recognized by other templates as the default script of that language.