29,531
edits
Line 1: | Line 1: | ||
==Documentation== | ==Documentation== | ||
This template is to be used for marking text as another language. See the [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA subtag registry] for | <pre>{{Lang|language code|Text}}</pre> | ||
This template is to be used for marking text as another language. See the [https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry IANA subtag registry] for language codes. | |||
This is most important for Japanese, Traditional Chinese, and Simplified Chinese so that a correct font is used, as some characters look different between the three but have the same Unicode code point. Marking it for other languages does have benefits for screenreaders, however. | This is most important for Japanese, Traditional Chinese, and Simplified Chinese so that a correct font is used, as some characters look different between the three but have the same Unicode code point. Marking it for other languages does have benefits for screenreaders, however. | ||
<noinclude>[[Category:Template Documentation]]</noinclude><includeonly>[[Category:Text Formatting Templates]]</includeonly> | <noinclude>[[Category:Template Documentation]]</noinclude><includeonly>[[Category:Text Formatting Templates]]</includeonly> |