Modèle:Italic title
Fichier:Imbox content.png | This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in the template's /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added in one single edit to the template. Please consider discussing any changes on the talk page before implementing them. |
This template can be used to italicise page titles. It should only be used in articles that meet the criteria for italic titles given in the Article titles policy.
IF IT DOESN'T WORK: Try putting the template after the infobox. If it still doesn't work, use DISPLAYTITLE instead of this template; again, this may need to go after the infobox.
Usage
- {{Italic title}} italicises the title automatically under certain circumstances. If the title is less than 50 characters in length, italicisation is always performed automatically:
- Titles with no brackets () are fully italicised:
- Foo → Foo
- Talk:Foo → Talk:Foo
- Titles which contain brackets are italicised before the first open bracket:
- Foo (bar) → Foo (bar)
- Talk:Foo (bar) → Talk:Foo (bar)
- Titles with no brackets () are fully italicised:
- Titles longer than 50 characters are not automatically italicised. However, you can pass parameters for the template to test the title against: if a match is found, italicisation is performed:
- {{Italic title| name | bracket1 | bracket2 | ... }}, where "name" is the first part of the title (before any brackets) and the "bracket#" are a list of up to five possible brackets:
{{Italic title| Foo | bar | baz }} will italicise as follows:- Foo → Foo
- Foo (bar) → Foo (bar)
- Foo (baz) → Foo (baz)
- Foo (quok) → Foo (quok)
- {{Italic title| name | bracket1 | bracket2 | ... }}, where "name" is the first part of the title (before any brackets) and the "bracket#" are a list of up to five possible brackets:
- {{Italic title|force=true}} italicises the entire title including brackets, and will also italicise titles with more than 50 characters.
- If an infobox is used that has an italic-title autofunction, then the {{Italic title}} template must be positioned after the infobox.
See also
Template | Involves | Correct name | Technical name |
---|---|---|---|
{{Italic title}} | Title in italics | Batman (1989 film) | Batman (1989 film) |
{{Lowercase title}} | Lowercase first character | eBay | EBay |
{{Correct title|reason=bracket}} | < > [ ] { } | Benzo[a]pyrene | Benzo(a)pyrene |
{{Correct title|reason=#}} | # | Pilot #5 | Pilot No. 5 |
{{Correct title|reason=:}} | / : | Games of Empire: Global Capitalism and Video Games | Games of Empire Global Capitalism and Video Games |
{{DISPLAYTITLE}} | Various |
Templates which use this template should display one the following notices:
- {{Auto italic title}}
- {{Auto italic title 2}}
- {{Auto italic title 3}}
bn:টেমপ্লেট:বাঁকা শিরোনাম cy:Nodyn:Italic title es:Plantilla:Título en cursiva eo:Ŝablono:Kursiva titolo fa:الگو:عنوان مورب hr:Predložak:Naslov u kurzivu id:Templat:Italic title ka:თარგი:კურსივისახელი ko:틀:이탤릭체 mk:Шаблон:Закосен наслов ms:Templat:Tajuk condong no:Mal:Kursiv tittel pt:Predefinição:Título em itálico ro:Format:Titlu cursiv si:සැකිල්ල:ඇලකුරු ශීර්ෂකය simple:Template:Italic title sr:Шаблон:Курзивни наслов sq:Stampa:Titull i pjerrët th:แม่แบบ:ชื่อเอียง tr:Şablon:İtalik başlık zh:Template:Italic title
The above documentation is transcluded from Modèle:Italic title/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |