Template:Langx: Difference between revisions
From World Encyclopedia of Conductors
Created page with " <noinclude> <templatedata> { "params": { "1": { "aliases": [ "code" ], "description": "The IETF language tag for the content in |text=" }, "text": { "aliases": [ "2" ], "description": "The non-English text" } }, "format": "inline", "description": "This language template identifies non-English text. It is very similar to {{lang}} but inserts the name of the language as a label. The text is formatted according to recommendations in Wi..." |
No edit summary |
||
| Line 8: | Line 8: | ||
"code" | "code" | ||
], | ], | ||
"description": "The IETF language tag for the content in |text=" | "description": "The IETF language tag for the content in |text=", | ||
"label": "Language tag", | |||
"type": "string", | |||
"required": true | |||
}, | }, | ||
"text": { | "text": { | ||
| Line 14: | Line 17: | ||
"2" | "2" | ||
], | ], | ||
"description": "The non-English text" | "description": "The non-English text", | ||
"label": "text", | |||
"type": "string", | |||
"required": true | |||
} | } | ||
}, | }, | ||
Revision as of 23:52, 3 December 2025
This language template identifies non-English text. It is very similar to {{lang}} but inserts the name of the language as a label. The text is formatted according to recommendations in Wikipedia:Manual of Style/Text formatting § Foreign terms: italics for languages that use the Latin alphabet, normal for others.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Language tag | 1 code | The IETF language tag for the content in |text= | String | required |
| text | text 2 | The non-English text | String | required |