• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Title language/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Title language
This is the template sandbox page for Template:Title language (diff).
Template documentation[view] [edit] [history] [purge]
Language templates
Language names (ISO 639)
  • {{ISO 639 name}}
Interwiki links
  • {{Wikt-lang}}
  • Module:Wikt-lang
  • Module:Wikt-lang/data
  • {{Interlanguage link}}
Foreign-language text
  • {{Lang}}
  • {{Langx}}
  • Module:Lang
  • {{Transliteration}}
  • {{Title language}}
Other
  • {{IPA}}
  • v
  • t
  • e
Shortcut
  • {{titlelangTemplate:Titlelang}}

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
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.

Template parameters[Edit template data]

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

edit

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

{{title language|fr}}

See also

edit
  • List of ISO 639-1 codes
  • Template:Italic title
The above documentation is transcluded from Template:Title language/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Title_language/sandbox&oldid=1057614083"
Last edited on 28 November 2021, at 17:35

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 28 November 2021, at 17:35 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop