Template:Italic title: Difference between revisions

From Research Realm
No edit summary
(Undo revision 597 by Ringtail Raider (talk))
Tag: Undo
 
(3 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}}|(}}{{#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>
<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 06:32, 23 June 2023