[go: up one dir, main page]

Jump to content

Template:Lang

From mediawiki.org

{{{2}}}

Template documentation

Mark floating text segment belonging to a particular human language. That does enable webfonts, user defined adaptions, screenreader and spellchecks as well as translation software to deal with that sequence.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Language code1

Language code according to ISO 639 (two or three small letters), also extended by RFC 5646

Example
en
Linerequired
Texttext 2

Inline text segment (no block elements, no breaks)

Contentsuggested
right-to-left directionrtl

Enable right-to-left direction, might improve presentation for some readers

Example
on
Booleanoptional