Template:Italic title: Difference between revisions
From the Nintendo Wiki, a wiki covering all things Nintendo
Jump to navigationJump to search
Content added Content deleted
(attr: https://www.mariowiki.com/Template:Italic_title) |
(→See also: Remove) |
||
(6 intermediate revisions by the same user not shown) | |||
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>
== Usage ==
To italicize the full article title, ignoring the identifier (if present), use:
Line 13:
== About ==
Used for italicizing main and gallery namespace titles. It's not necessary to make this change to talk pages
== See also ==
*[[Nintendo Wiki:Naming#Italics]]
[[Category:Formatting templates]]</noinclude>
|
Latest revision as of 14:22, December 8, 2022
Usage[edit]
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 ''Super Mario Galaxy'' staff}}
The line of code should be placed at the very top of the page without any blank lines following it.
About[edit]
Used for italicizing main and gallery namespace titles. It's not necessary to make this change to talk pages.