Template:Italic title/doc
From Mises Wiki, the global repository of classical-liberal thought
This is a documentation subpage for Template:Italic title. It contains usage information, categories and other content that is not part of the original template page. |
- This article uses content from the Wikipedia article on Template:Italic title/doc (edition) under the terms of the CC-by-SA 3.0 license.
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:Template:Break{{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:Template:Break{{Italic title| Foo | bar | baz }} will italicise as follows:
- {{Italic title|force=true}} italicises the entire title including brackets, and will also italicise titles with more than 50 characters.
See also
Future development
Make the first part of Panic of 1819 (book) be in italics, but not the part in parentheses.- Make it possible to italicize pages outside the main namespace.