Template:Italic title: Difference between revisions

From Research Realm
(stolen from mario wiki, including description. sorry.)
(Undo revision 597 by Ringtail Raider (talk))
Tag: Undo
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<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>
<includeonly>{{#invoke:Italic title|main}}</includeonly><noinclude>
To italicize the full article title, ignoring the identifier (if present), use:
{{Documentation}}
:<code><nowiki>{{italic title}}</nowiki></code>
<!-- Add categories to the /doc subpage and interwikis to Wikidata. -->
 
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>
</noinclude>

Latest revision as of 05:32, 23 June 2023