Difference between revisions of "Template:Italic title"

From RRU Knowledge Base
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 ==
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.
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. The written title does not include the page's namespace.


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.
An example of its usage is <code><nowiki>{{italic title|''Italic'' title}}</nowiki></code> which causes the word ''Italic'' in this template's title to display as italic text.
{{italic title|Template:''Italic'' title}}
{{italic title|''Italic'' title}}
[[Category:Formatting templates]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Revision as of 15:18, 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. The written title does not include the page's namespace.

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