Welcome to Mariopedia! If you want to request an account, please do so at Mario Wiki or Fanonpedia.

Template:Italic title: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
attr: https://www.mariowiki.com/Template:Italic_title
No edit summary
(attr: https://www.mariowiki.com/Template:Italic_title)
Line 1: Line 1:
<includeonly>{{DISPLAYTITLE:{{#if:{{{1|}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{{1}}}|{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}''{{PAGENAME}}''}}}}</includeonly><noinclude>
<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>
Used for italicizing main and gallery namespace titles. To italicize the full title (such as for games), use:
== Usage ==
To italicize the full article title, ignoring the identifier (if present), use:
:<code><nowiki>{{italic title}}</nowiki></code>


<code><nowiki>{{italic title}}</nowiki></code>
To italicize just the article identifier (e.g. a game name in parenthesis), use:
:<code><nowiki>{{italic title|id=yes}}</nowiki></code>


For partial italics, use the desired title as a parameter:
For custom italics, use the desired title as the given parameter:
:<code><nowiki>{{italic title|List of ''Super Mario Galaxy'' staff}}</nowiki></code>


<code><nowiki>{{italic title|List of ''Super Mario Galaxy'' staff}}</nowiki></code>
The line of code should be placed at the very top of the page without any blank lines following it.


Either line of code should be placed at the very top of the page without any blank or empty lines following it. It's not necessary to make this change to talk pages.</noinclude>
== About ==
Used for italicizing main and gallery namespace titles. It's not necessary to make this change to talk pages.
 
== See also ==
*[[Mariopedia:Naming#Italics]]
 
[[Category:Formatting templates]]</noinclude>

Navigation menu