Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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
[edit]To use this template, enter the code {{lang|<ISO code>|<text>}}
, replacing <ISO code>
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 <text>
with the foreign text. For example, {{lang|ja|日本語}}
displays 日本語.
Template for making sure that text in a foreign language and/or script is displayed properly. See the documentation at the Lang template on English Wikipedia ([[:w:Template:Lang]]) for more information
Parameter | Description | Type | Status | |
---|---|---|---|---|
ISO code | 1 | ISO code of the language, usually displayed in that language's infobox on its Wikipedia page
| String | required |
Text | 2 | Text in the foreign language
| String | required |