Template:Text
Template documentation
This template produces certain text, given by the English version or a code, in a given language. By default, the fall-back language is English. Optionally this is suppressed, and the template produces nothing if the text is not available in the desired language. This can be useful if the English version is given anyway, with another call of the template.
Parameters
editParameter name | Description | Default value |
---|---|---|
1 | code for the text to be produced | empty |
2 | language code for the language in which the text is expressed | the result of {{uselang}} , giving en
|
3 | if non-empty: do not produce the English word if the word in the requested language is not available; instead, produce nothing | empty |
Examples
Some results depend on the user language, try: ab · ae · af · ak · am · an · ar · as · ast · av · ay · az · ba · bar · bcl · be · be-tarask · bg · bi · bm · bn · bo · br · bs · ca · ce · ceb · ch · chy · cnr · co · cps · cr · cs · cu · cv · cy · da · de · dv · dz · ee · egl · el · en · eo · es · et · ext · fa · fi · fj · ff · fo · fr · frc · frp · frr · frs · fur · fy · ga · gd · gl · gn · got · gsw · gu · gv · ha · haw · he · hi · hil · ho · hr · ht · hu · hy · hyw · hz · id · ie · ig · ii · ik · io · is · it · ja · jut · jv · ka · kg · ki · kj · kk · kl · km · kn · ko · ks · ksh · ku · kv · kw · ky · la · lb · lg · li · lij · lld · lmo · ln · lo · lt · lu · lv · mg · mh · mi · mk · ml · mn · mr · ms · mt · mwl · my · na · nan · nb · nd · nds · nds-nl · ne · nl · nn · nr · nrf · nv · ny · oc · oj · om · or · os · pa · pcd · pdc · pfl · pi · pl · pms · pt · qu · rar · rej · rgn · rif · rm · rn · ro · ru · rue · ruo · rup · ruq · rw · ryu · sa · sah · sat · sc · scn · sco · sd · sdc · se · sg · sh · si · sk · sl · sm · smj · smn · sms · sn · so · sou · sq · sr · ss · st · su · sv · sw · ta · te · tg · th · ti · tk · tl · to · tr · ts · tt · tw · ty · uk · ur · uz · ve · vec · vep · vi · vo · vls · wa · war · wo · wuu · xh · yi · yo · yue · za · zea · zh-hans · zh-hant · zu
{{text}}
→{{text|sa}}
→ See also{{text|see}}
→ See{{text|xmp}}
→ Examples{{text|req}}
→ Required{{text|sa|de}}
→ See also{{text|sa|en}}
→ See also{{text|sa|nl}}
→ Zie ook{{text|sa||x}}
→{{text|sa|de|x}}
→{{text|sa|en|x}}
→ See also{{text|sa|nl|x}}
→ Zie ook
If the subtemplate for the language in which the name is expressed is known to exist, and fall-back to English if the text is not available is not desired, then the subtemplate can more efficiently be called directly as follows:
{{text/en|sa}}
→ See also{{text/nl|sa}}
→ Zie ook
Formatting a number:
12{{text|,}}345{{text|.}}67
→ 12,345.67
Compare:
{{formatnum|12345.67}}
→ 12,345.67
Required
- The page
MediaWiki:Lang/
xx for the user language xx set in the preferences; it should contain the language code xx - Lang/ab
- Lang/abs
- Lang/ace
- Lang/ady
- Lang/ady-cyrl
- Lang/ae
- Lang/aeb
- Lang/aeb-arab
- Lang/aeb-latn
- Lang/af
- Lang/ak
- Lang/aln
- Lang/als
- Lang/am
- Lang/an
- Lang/ang
- Lang/anp
- Lang/ar
- Lang/arc
- Lang/arn
- Lang/arq
- Lang/arv
- Lang/ary
- Lang/arz
- Lang/as
- Lang/ase
- Lang/ast
- Lang/atj
- Lang/av
- Lang/avk
- Lang/awa
- Lang/ay
- Lang/az
- Lang/azb
- Lang/ba
- Lang/ban
- Lang/bar
- Lang/bat-smg
- Lang/bbc
- Lang/bbc-latn
- Lang/bcc
- Lang/bcl
- Lang/bcr
- Lang/be
- Lang/be-tarask
- Lang/be-x-old
- Lang/bg
- Lang/bgn
- Lang/bh
- Lang/bho
- Lang/bi
- Lang/bjn
- Lang/bm
- Lang/bn
- Lang/bo
- Lang/bpy
- Lang/bqi
- Lang/br
- Lang/brh
- Lang/bs
- Lang/btm
- Lang/bto
- Lang/bug
- Lang/bxr
- Lang/byp
- Lang/ca
- Lang/cbk-zam
- Lang/cdo
- Lang/ce
- Lang/ceb
- Lang/ch
- Lang/cho
- Lang/chr
- Lang/chy
- Lang/ckb
- Lang/co
- Lang/cop
- Lang/cps
- Lang/cr
- Lang/crh
- Lang/crh-cyrl
- Lang/crh-latn
- Lang/cs
- Lang/csb
- Lang/cu
- Lang/cv
- Lang/cy
- Lang/da
- Lang/dag
- Lang/de
- Lang/de-at
- Lang/de-ch
- Lang/de-formal
- Lang/din
- Lang/diq
- Lang/dsb
- Lang/dtp
- Lang/dty
- Lang/dv
- Lang/dz
- Lang/ee
- Lang/egl
- Lang/el
- Lang/eml
- Lang/en
- Lang/en-ca
- Lang/en-gb
- Lang/eo
- Lang/es
- Lang/es-419
- Lang/es-formal
- Lang/et
- Lang/eu
- Lang/ext
- Lang/fa
- Lang/ff
- Lang/fi
- Lang/fit
- Lang/fiu-vro
- Lang/fj
- Lang/fo
- Lang/fr
- Lang/frc
- Lang/frp
- Lang/frr
- Lang/fur
- Lang/fy
- Lang/ga
- Lang/gag
- Lang/gan
- Lang/gan-hans
- Lang/gan-hant
- Lang/gcr
- Lang/gd
- Lang/gl
- Lang/glk
- Lang/gn
- Lang/gom
- Lang/gom-deva
- Lang/gom-latn
- Lang/gor
- Lang/got
- Lang/grc
- Lang/gsw
- Lang/gu
- Lang/gv
- Lang/ha
- Lang/hak
- Lang/haw
- Lang/he
- Lang/hi
- Lang/hif
- Lang/hif-deva
- Lang/hif-latn
- Lang/hil
- Lang/ho
- Lang/hr
- Lang/hrx
- Lang/hsb
- Lang/ht
- Lang/hu
- Lang/hu-formal
- Lang/hy
- Lang/hyw
- Lang/hz
- Lang/ia
- Lang/id
- Lang/ie
- Lang/ig
- Lang/ii
- Lang/ik
- Lang/ike-cans
- Lang/ike-latn
- Lang/ikt
- Lang/ilo
- Lang/inh
- Lang/io
- Lang/is
- Lang/it
- Lang/iu
- Lang/ja
- Lang/jam
- Lang/jbo
- Lang/jut
- Lang/jv
- Lang/ka
- Lang/kaa
- Lang/kab
- Lang/kbd
- Lang/kbd-cyrl
- Lang/kbp
- Lang/kg
- Lang/khw
- Lang/ki
- Lang/kiu
- Lang/kj
- Lang/kjp
- Lang/kk
- Lang/kk-arab
- Lang/kk-cn
- Lang/kk-cyrl
- Lang/kk-kz
- Lang/kk-latn
- Lang/kk-tr
- Lang/kl
- Lang/km
- Lang/kn
- Lang/ko
- Lang/ko-kp
- Lang/koi
- Lang/kr
- Lang/krc
- Lang/kri
- Lang/krj
- Lang/krl
- Lang/ks
- Lang/ks-arab
- Lang/ks-deva
- Lang/ksh
- Lang/ku
- Lang/ku-arab
- Lang/ku-latn
- Lang/kum
- Lang/kv
- Lang/kw
- Lang/ky
- Lang/la
- Lang/lad
- Lang/lb
- Lang/lbe
- Lang/lez
- Lang/lfn
- Lang/lg
- Lang/li
- Lang/lij
- Lang/liv
- Lang/lki
- Lang/lld
- Lang/lmo
- Lang/ln
- Lang/lo
- Lang/loz
- Lang/lrc
- Lang/lt
- Lang/ltg
- Lang/lu
- Lang/lus
- Lang/luz
- Lang/lv
- Lang/lzh
- Lang/lzz
- Lang/mad
- Lang/mai
- Lang/map-bms
- Lang/mc
- Lang/mdf
- Lang/mg
- Lang/mh
- Lang/mhr
- Lang/mi
- Lang/min
- Lang/mk
- Lang/ml
- Lang/mn
- Lang/mni
- Lang/mnw
- Lang/mo
- Lang/mr
- Lang/mrj
- Lang/ms
- Lang/ms-arab
- Lang/mt
- Lang/mus
- Lang/mwl
- Lang/my
- Lang/myv
- Lang/mzn
- Lang/na
- Lang/nah
- Lang/nan
- Lang/nap
- Lang/nb
- Lang/nd
- Lang/nds
- Lang/nds-nl
- Lang/ne
- Lang/new
- Lang/ng
- Lang/niu
- Lang/nl
- Lang/nl-informal
- Lang/nn
- Lang/no
- Lang/non
- Lang/nov
- Lang/nqo
- Lang/nr
- Lang/nrm
- Lang/nso
- Lang/nv
- Lang/ny
- Lang/nys
- Lang/oc
- Lang/och
- Lang/oj
- Lang/olo
- Lang/om
- Lang/or
- Lang/os
- Lang/pa
- Lang/pag
- Lang/pam
- Lang/pap
- Lang/pcd
- Lang/pdc
- Lang/pdt
- Lang/pfl
- Lang/pi
- Lang/pih
- Lang/pl
- Lang/plm
- Lang/pms
- Lang/pnb
- Lang/pnt
- Lang/prg
- Lang/ps
- Lang/pt
- Lang/pt-br
- Lang/qu
- Lang/qug
- Lang/rgn
- Lang/rif
- Lang/rm
- Lang/rmy
- Lang/rn
- Lang/ro
- Lang/roa-rup
- Lang/roa-tara
- Lang/ru
- Lang/rue
- Lang/rup
- Lang/ruq
- Lang/ruq-cyrl
- Lang/ruq-grek
Template:Text/
xx for the language in which the text is expressed (see below), with in that page support for the text to be produced
Localization
This template calls Template:Text/en. The following language versions are available:
Each calls Template:Text/layout.
See also