Template:Title language/doc

< Template:Title language
Revision as of 14:49, 24 October 2024 by Muskit Gergous (talk | contribs) (Created page with "{{Documentation subpage}} {{Language templates}} This template puts appropriate language tags around the title of the page, in a similar way to Template:Lang. See {{Section link|Template:Lang/doc|Rationale}} for more information. == TemplateData == {{TemplateData header}} <templatedata> { "description": "Indicate that an article title belongs to a particular language. Allows browsers to correctly present and pronounce foreign-language titles.", "params": { "1":...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Title language

Indicate that an article title belongs to a particular language. Allows browsers to correctly present and pronounce foreign-language titles.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Language tag1 language lang code

A language tag, or an ISO 639 language code.

Example
fr
Stringrequired
Italicizeitalic italics i

Italicizes the text

Default
yes
Example
no
Booleanoptional

Examples

The following code tags an article title as French and italicizes it:

{{title language|fr}}

See also