Template:Italic title: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
mNo edit summary
 
Line 17: Line 17:


<pre>{{italic title}}</pre>
<pre>{{italic title}}</pre>
 
[[Category:Utility templates]]
</noinclude>
</noinclude>

Latest revision as of 01:30, 14 July 2016

This template italicizes page titles. Article titles cannot contain wiki-formatting, such as '', so cannot be italicized in the normal way. Instead, place this template in the article, normally at the very top. It will then have the following effect:

  • Titles with no parentheses () are fully italicised:
    • FooFoo
    • Talk:FooTalk:Foo
  • Titles which contain parentheses are italicised before the first opening parenthesis:
    • Foo (bar)Foo (bar)
    • Talk:Foo (bar)Talk:Foo (bar)
  • Titles which contain "-class" within the parenthesis will italicize text within the parethesis up to "-class".
    • Foo (bar-class)Foo (bar-class)
    • Talk:Foo (bar-class)Talk:Foo (bar-class)

Usage

Basic usage

{{italic title}}