Template:Lang

From mediawiki.org
Jump to navigation Jump to search

{{{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

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