Template:Lang: Difference between revisions

From Bonkipedia
[[mw:]]>PerfektesChaos
m (t)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:05, 12 November 2022

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