Template:Italic title: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#if:{{{1|}}}|{{{1}}}|{{#if:{{{id|}}}|{{#if:{{#pos:{{PAGENAME}}|(}}{{#pos:{{PAGENAME}}|)}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}} (''{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|(}}+1}}|-1}}'')|{{PAGENAME}}}}|{{#if:{{#pos:{{PAGENAME}}|(}}{{#pos:{{PAGENAME}}|)}}|''{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}}'' ({{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|(}}+1}}|-1}})|''{{PAGENAME}}''}}}}}}}}</div></includeonly><noinclude>
<includeonly><div>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#if:{{{1|}}}|{{{1}}}|{{#if:{{{id|}}}|{{#if:{{#pos:{{PAGENAME}}|<nowiki/> (}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|<nowiki/> (}}}} (''{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|<nowiki/> (}}+2}}|-1}}'')|{{PAGENAME}}}}|{{#if:{{#pos:{{PAGENAME}}|<nowiki/> (}}|''{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|<nowiki/> (}}}}'' ({{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|<nowiki/> (}}+2}}|-1}})|''{{PAGENAME}}''}}}}}}}}</div></includeonly><noinclude>
== Usage ==
== Usage ==
To italicize the full article title, ignoring the identifier (if present), use:
To italicize the full article title, ignoring the identifier (if present), use:

Revision as of 19:16, December 27, 2023

Usage

To italicize the full article title, ignoring the identifier (if present), use:

{{italic title}}

To italicize just the article identifier (e.g. a game name in parenthesis), use:

{{italic title|id=yes}}

For custom italics, use the desired title as the given parameter:

{{italic title|List of ''Destiny'' staff}}

The line of code should be placed at the very top of the page without any blank lines following it.

About

Used for italicizing article titles. It's not necessary to make this change to talk pages.