More actions
m 1 revision imported |
→top: reword sentence |
||
Line 38: | Line 38: | ||
==Examples== | ==Examples== | ||
The following code tags | The following code tags an article title as French and italicizes it: | ||
{{code| | {{code| | ||
<nowiki>{{title language|fr | <nowiki>{{title language|fr}}</nowiki> | ||
}} | }} | ||
Latest revision as of 12:29, 13 April 2024
This is a documentation subpage for Template:Title language. It contains usage information, categories and other content that is not part of the original page. |
Template:Language templates This template puts appropriate language tags around the title of the page, in a similar way to Template:Lang. See Template:Lang/doc § Rationale for more information.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Title language in articles based on its TemplateData.
TemplateData for Title language
Indicate that an article title belongs to a particular language. Allows browsers to correctly present and pronounce foreign-language titles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Language tag | 1 language lang code | A language tag, or an ISO 639 language code.
| String | required |
Italicize | italic italics i | Italicizes the text
| Boolean | optional |
Examples
The following code tags an article title as French and italicizes it:
{{title language|fr}}
See also