قالب:Italic title/doc
هذه صفحة توثيق الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
This template is used on approximately 277,000 pages, or roughly 13% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing 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.
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:
{{Italic title|force=}}
- 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.
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=:}} | / : | DK: King of Swing | DK King of Swing |
{{DISPLAYTITLE}} | Various |