Template:Italic title: Difference between revisions
From Research Realm
(copied old wikipedia template) |
(stolen from mario wiki, including description. sorry.) |
||
Line 1: | Line 1: | ||
<includeonly>{{DISPLAYTITLE:{{# | <includeonly><div>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#if:{{{1|}}}|{{{1}}}|{{#if:{{{id|}}}|{{#if:{{#pos:{{PAGENAME}}|(}}|{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}} (''{{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|(}}+1}}|-1}}'')|{{PAGENAME}}}}|{{#if:{{#pos:{{PAGENAME}}|(}}|''{{#sub:{{PAGENAME}}|0|{{#rpos:{{PAGENAME}}|(}}}}'' ({{#sub:{{PAGENAME}}|{{#expr:{{#rpos:{{PAGENAME}}|(}}+1}}|-1}})|''{{PAGENAME}}''}}}}}}}}</div></includeonly><noinclude> | ||
To italicize the full article title, ignoring the identifier (if present), use: | |||
:<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 custom italics, use the desired title as the given parameter: | |||
:<code><nowiki>{{italic title|List of ''LEGO Island'' characters}}</nowiki></code> | |||
</noinclude> | |||
| | |||
Revision as of 03:58, 18 January 2023
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 ''LEGO Island'' characters}}