Template:Italic title: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><div>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}||{{BASEPAGENAME}}/}}{{#if:{{{id|}}}|{{#if:{{#pos:{{SUBPAGENAME}}|<nowiki/> (}}|{{#sub:{{SUBPAGENAME}}|0|{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}}} (''{{#sub:{{SUBPAGENAME}}|{{#expr:{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}+2}}|-1}}'')|{{SUBPAGENAME}}}}|{{#if:{{#pos:{{SUBPAGENAME}}|<nowiki/> (}}|''{{#sub:{{SUBPAGENAME}}|0|{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}}}'' ({{#sub:{{SUBPAGENAME}}|{{#expr:{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}+2}}|-1}})|''{{SUBPAGENAME}}''}}}}}}}}</div>{{#switch:{{NAMESPACE}}||Gallery={{#if:{{{1|}}}|{{#ifeq:{{#replace:{{#replace:{{#replace:{{{1}}}|''}}|<i>}}|</i>}}|{{PAGENAME}}||[[Category:Articles with incorrect italic title]]}}}}}}</includeonly><noinclude>
<includeonly><div>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{PAGENAME}}|{{SUBPAGENAME}}||{{BASEPAGENAME}}/}}{{#if:{{{id|}}}|{{#if:{{#pos:{{SUBPAGENAME}}|<nowiki/> (}}|{{#sub:{{SUBPAGENAME}}|0|{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}}} (''{{#sub:{{SUBPAGENAME}}|{{#expr:{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}+2}}|-1}}'')|{{SUBPAGENAME}}}}|{{#if:{{#pos:{{SUBPAGENAME}}|<nowiki/> (}}|''{{#sub:{{SUBPAGENAME}}|0|{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}}}'' ({{#sub:{{SUBPAGENAME}}|{{#expr:{{#rpos:{{SUBPAGENAME}}|<nowiki/> (}}+2}}|-1}})|''{{SUBPAGENAME}}''}}}}}}}}</div>{{#switch:{{NAMESPACE}}||Gallery={{#if:{{{1|}}}|{{#ifeq:{{#replace:{{#replace:{{#replace:{{{1}}}|''}}|<i>}}|</i>}}|{{PAGENAME}}||[[Category:Articles with incorrect italic titles]]}}}}}}</includeonly><noinclude>
== Usage ==
== Usage ==
To italicize the article title, ignoring the identifier (if present), use:
To italicize the article title, ignoring the identifier (if present), use:
Line 13: Line 13:
Used for italicizing article and gallery titles. It's not necessary to apply this template to other namespaces (e.g. categories, talk pages).
Used for italicizing article and gallery titles. It's not necessary to apply this template to other namespaces (e.g. categories, talk pages).


Articles which have a custom italic title that doesn't match the actual article title are placed in [[:Category:Articles with incorrect italic title]].
Articles which have a custom italic title that doesn't match the actual article title are placed in [[:Category:Articles with incorrect italic titles]].


== See also ==
== See also ==

Revision as of 22:43, May 23, 2024

Usage

To italicize the 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 ''Super Mario Galaxy'' staff}}

About

Used for italicizing article and gallery titles. It's not necessary to apply this template to other namespaces (e.g. categories, talk pages).

Articles which have a custom italic title that doesn't match the actual article title are placed in Category:Articles with incorrect italic titles.

See also