Difference between revisions of "Template:Italic title"

From RRU Knowledge Base
(Undo revision 2691 by Jessietail (talk))
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:{{#if:{{{1|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{1}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}''{{PAGENAME}}''}}}}</includeonly><noinclude>
<includeonly>{{DISPLAYTITLE:{{#if:{{{1|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{1}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}''{{PAGENAME}}''}}}}</includeonly><noinclude>
== Usage ==
== Usage ==
Use this template on pages that you want to display with all or part of the article title in italics, such as for proper names of books, movies, video games, etc. Note that aside from the apostrophes to create italic text, the title written in the template must be identical to the page's actual title, or it will spit out an error instead.<br><br> Example usage: <tt><nowiki>{{italic title|Template:''Italic title''}}</nowiki></tt>
This template displays all or part of the article's title in italics. This may be desired for proper names of books, movies, video games, etc. Note that aside from the apostrophes to create italic text, the title written in the template must be identical to the page's actual title, or it will spit out an error instead.
[[Category:Utility templates]]</noinclude>
 
An example of its usage is <code><nowiki>{{italic title|Template:''Italic'' title}}</nowiki></code> which causes the word ''Italic'' in this template's title to display as italic text.
{{italic title|Template:''Italic'' title}}
[[Category:Formatting templates]]</noinclude>

Revision as of 15:17, 16 September 2017

Usage

This template displays all or part of the article's title in italics. This may be desired for proper names of books, movies, video games, etc. Note that aside from the apostrophes to create italic text, the title written in the template must be identical to the page's actual title, or it will spit out an error instead.

An example of its usage is {{italic title|Template:''Italic'' title}} which causes the word Italic in this template's title to display as italic text.