Template:Italic title/doc


 * Description
 * This template can be used to italicize page titles.


 * Dependencies:
 * Uses Template:Str find
 * Uses Template:Str left
 * Uses Template:Str len
 * Uses Template:Str ≤ len
 * Uses Template:Substr any


 * Syntax
 *   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 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:
 *  , where "name" is the first part of the title (before any brackets) and the "bracket#" are a list of up to five possible brackets:   will italicise as follows:
 * Foo</tt> → Foo
 * Foo (bar)</tt> → Foo (bar)
 * Foo (baz)</tt> → Foo (baz)
 * Foo (quok)</tt> → Foo (quok)
 *  </tt> 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  </tt> template must be positioned after the infobox.