Forum:Showing page title in Italics

I've been trying to implement a way to display a page title in Italics the same way it is done on other wikis, but it doesn't seem to work.

This is the template responsible for it:

http://godfather.wikia.com/wiki/Template:Title

This is a page on which I use this template:

http://godfather.wikia.com/wiki/The_Godfather

Hope someone can help me with this,

Sonny Black(Talk) 18:43, September 5, 2012 (UTC)


 * You don't need JavaScript for that, you can simply put this on the page:


 * - Tjcool007 (Wall) 18:47, September 5, 2012 (UTC)


 * Thank you very much. Wish I would have figured it out myself as its apparantly that simple. --Sonny Black(Talk) 19:43, September 5, 2012 (UTC)

One more question: how can I display only a part of the title in Italics using this method?

http://godfather.wikia.com/wiki/The_Godfather_%28novel%29

For instance only "The Godfather" and not "(novel)".

--Sonny Black(Talk) 19:48, September 5, 2012 (UTC)


 * This should work normally:


 * - Tjcool007 (Wall) 20:11, September 5, 2012 (UTC)


 * It does, thanks again for your help. I was pretty close in solving it myself, but I didn't add (novel) to it. :') --Sonny Black(Talk) 20:21, September 5, 2012 (UTC)


 * Yeah, displaytitle requires you to enter the full page name or it won't work (as long as you don't unlock it's true function). Actually it seems the Italic title template of Wikipedia recognizes the brackets. Might be worth it to just copy it and use that instead ;) - Tjcool007 (Wall) 20:26, September 5, 2012 (UTC)