276
edits
Welcome to Mariopedia! If you want to request an account, please do so at Mario Wiki or Fanonpedia.
No edit summary |
(attr: https://www.mariowiki.com/Template:Italic_title) |
||
Line 1: | Line 1: | ||
<includeonly>{{DISPLAYTITLE:{{#if:{{{1|}}}|{{#if:{{ | <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: | |||
:<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 | For custom italics, use the desired title as the given parameter: | ||
:<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. | |||
== 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> |