Template:Text
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 Template:Xpsoc |
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: Template:Ltul • Template:Ltul • Template:Ltul • Template:Ltul
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
- Template:Xpsoc
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:
Formatting a number:
12{{text|,}}345{{text|.}}67
→ 12,345.67
Compare:
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/ace
- Lang/ae
- Lang/af
- Lang/ak
- Lang/aln
- Lang/als
- Lang/am
- Lang/an
- Lang/ang
- Lang/ar
- Lang/arc
- Lang/arn
- Lang/arv
- Lang/arz
- Lang/as
- Lang/ast
- Lang/av
- Lang/avk
- Lang/ay
- Lang/az
- Lang/ba
- Lang/bar
- Lang/bat-smg
- Lang/bcc
- Lang/bcl
- Lang/bcr
- Lang/be
- Lang/be-tarask
- Lang/be-x-old
- Lang/bg
- Lang/bh
- Lang/bi
- Lang/bm
- Lang/bn
- Lang/bo
- Lang/bpy
- Lang/br
- Lang/bs
- 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/co
- Lang/cop
- Lang/cr
- Lang/crh
- Lang/crh-cyrl
- Lang/crh-latn
- Lang/cs
- Lang/csb
- Lang/cu
- Lang/cv
- Lang/cy
- Lang/da
- Lang/de
- Lang/de-at
- Lang/de-ch
- Lang/de-formal
- Lang/diq
- Lang/dsb
- Lang/dv
- Lang/dz
- Lang/ee
- Lang/el
- Lang/eml
- Lang/en
- Lang/en-gb
- Lang/eo
- Lang/es
- Lang/et
- Lang/eu
- Lang/ext
- Lang/fa
- Lang/ff
- Lang/fi
- 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/gd
- Lang/gl
- Lang/glk
- Lang/gn
- 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/hsb
- Lang/ht
- Lang/hu
- Lang/hy
- 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/jbo
- Lang/jut
- Lang/jv
- Lang/ka
- Lang/kaa
- Lang/kab
- Lang/kg
- Lang/ki
- Lang/kj
- 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/kr
- Lang/kri
- Lang/krj
- Lang/ks
- Lang/ksh
- Lang/ku
- Lang/ku-arab
- Lang/ku-latn
- 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/lld
- Lang/lmo
- Lang/ln
- Lang/lo
- Lang/loz
- Lang/lt
- Lang/lu
- Lang/lv
- Lang/lzz
- Lang/mad
- Lang/mai
- Lang/map-bms
- Lang/mc
- Lang/mdf
- Lang/mg
- Lang/mh
- Lang/mi
- Lang/mk
- Lang/ml
- Lang/mn
- Lang/mo
- Lang/mr
- Lang/ms
- 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/nr
- Lang/nrm
- Lang/nso
- Lang/nv
- Lang/ny
- Lang/oc
- Lang/och
- Lang/oj
- Lang/om
- Lang/or
- Lang/os
- Lang/pa
- Lang/pag
- Lang/pam
- Lang/pap
- Lang/pdc
- Lang/pdt
- Lang/pfl
- Lang/pi
- Lang/pih
- Lang/pl
- Lang/plm
- Lang/pms
- Lang/pnt
- Lang/ps
- Lang/pt
- Lang/pt-br
- Lang/qu
- Lang/rif
- Lang/rm
- Lang/rmy
- Lang/rn
- Lang/ro
- Lang/roa-rup
- Lang/roa-tara
- Lang/ru
- Lang/ruq
- Lang/ruq-cyrl
- Lang/ruq-grek
- Lang/ruq-latn
- Lang/rw
- Lang/sa
- Lang/sah
- Lang/sc
- Lang/scn
- Lang/sco
- Lang/sd
- Lang/sdc
- Lang/se
- Lang/sei
- Lang/ses
- Lang/sg
- Lang/sh
- Lang/shi
- Lang/si
- Lang/simple
- Lang/sk
- Lang/sl
- Lang/sm
- Lang/sma
- Lang/sn
- Lang/so
- Lang/sq
- Lang/sr
- Lang/sr-ec
- Lang/sr-el
- Lang/srn
- Lang/ss
- Lang/st
- Lang/stq
- Lang/su
- Lang/sv
- Lang/sw
- Lang/szl
- Lang/ta
- Lang/te
- Lang/tet
- Lang/tg
- Lang/tg-cyrl
- Lang/tg-latn
- Lang/th
- Lang/ti
- Lang/tk
- Lang/tl
- Lang/tlh
- Lang/tn
- Lang/to
- Lang/tpi
- Lang/tr
- Lang/ts
- Lang/tt
- Lang/tt-cyrl
- Lang/tt-latn
- Lang/ttt
- Lang/tum
- Lang/tw
- Lang/ty
- Lang/tyv
- Lang/tzm
- Lang/udm
- Lang/ug
- Lang/uk
- Lang/ur
- Lang/uz
- Lang/ve
- Lang/vec
- Lang/vi
- Lang/vls
- Lang/vo
- Lang/vrm
- Lang/wa
- Lang/war
- Lang/wo
- Lang/wuu
- Lang/xal
- Lang/xh
- Lang/xmf
- Lang/yao
- Lang/yap
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: English | +/- Each calls Template:Text/layout.
See also