Template:Lang/doc

This template is for making sure that text in a foreign language and/or script is displayed properly. For example, 日本語 is Japanese for "Japanese language", and is displayed without this template. Compare it to 日本語, which is displayed with the template. It ensures the correct fonts are used to display the language. See the documentation at the Lang template on English Wikipedia for more information.

Compare the following words, where the word on the left is without this template, but the word on the right is using the template:
 * العَرَبِيَّة to العَرَبِيَّة (Arabic)
 * اُردُو to اُردُو (Urdu)
 * 普通话 to 普通话 (Chinese)

Usage
To use this template, enter the code, replacing   with the ISO code of the language, which is usually displayed in that language's infobox on its Wikipedia page, for example, "fr" for French, or "de" for German. Then replace  with the foreign text. For example,  displays 日本語.