Added |i= alias or |italic= |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{language|{{{lang|{{{code|{{{1|}}}}}}}}}}}}|{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lang|{{{language|{{{lang|{{{code|{{{1|}}}}}}}}}}}}|{{PAGENAME}}|italic={{{italic|{{{italics|{{{i|}}}}}}}}}|nocat=y}}}}|{{Error|No language tag provided.}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | <includeonly>{{#if:{{{language|{{{lang|{{{code|{{{1|}}}}}}}}}}}}|{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:|}}{{lang|{{{language|{{{lang|{{{code|{{{1|}}}}}}}}}}}}|{{{2|{{PAGENAME}}}}}|italic={{{italic|{{{italics|{{{i|}}}}}}}}}|nocat=y}}}}|{{Error|No language tag provided.}}}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 07:25, 20 December 2024
Language templates |
---|
Language names (ISO 639) |
|
Interwiki links |
Foreign-language text |
|
Other |
|
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[edit source]
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[edit source]
The following code tags an article title as French and italicizes it:
{{title language|fr}}