Template talk:Italic title

Explanation?
I don’t quite understand this template. Its purpose is to make the title of the page on which it’s used italic type, right? I don’t know, since there’s not any documentation page. I looked at the code of the template but couldn’t fully understand it. It seems like it just makes the page name italic, but I don’t know what all the code is for. If its purpose is just to do that, why’s it so complicated? , a very simple code, (another page name magic word, such as, would also work) would make the title italic.

If its purpose is not to just make the title italic, could someone explain to me what the template does ( other than make the title italic, as it seems like it makes the title italic, but perhaps it does something else, too). ― PapíDimmi  ( talk | contribs )  21:37, July 14, 2016 (UTC)