Template:Lang

From Bonkipedia
Revision as of 16:17, 3 January 2021 by [[mw:]]>PerfektesChaos (t)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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