Template:Lang
{{{2}}}
Specifies language for a piece of text. In some languages, such as zh-Hant (Traditional Chinese), this ensures the text is rendered in the correct fonts and according to the adequate typographical conventions.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Language code | 1 | BCP-47 language code of the text | Line | required |
| Text | 2 | The text to display | Line | required |
- For more information, see BCP 47 language tag on MDN Web Docs
- For examples, see List of common primary language subtags on Wikipedia