Template:Italic title: Difference between revisions
(Created page with "<includeonly>{{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}}''}...") |
No edit summary |
||
Line 14: | Line 14: | ||
== About == | == About == | ||
Used for italicizing main and gallery namespace titles. It's not necessary to make this change to talk pages. | Used for italicizing main and gallery namespace titles. It's not necessary to make this change to talk pages. | ||
[[Category:Formatting templates]]</noinclude> | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 10:59, 2 January 2022
Usage
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 ''Tenchi Universe'' staff}}
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.