Don't like the ads? Then create an account! Users with accounts have more options than anonymous users. |
Editing Template:Italic title
From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
You are not currently logged in. If you log in or create an account, your edits will be attributed to your username, along with other benefits. While you are free to edit without logging in, your IP address will be recorded publicly, along with the time and date, in this template's edit history. Messages sent to your IP can be viewed on your talk page. | ||
Click here to log in | Click here to sign up |
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
<includeonly>{{DISPLAYTITLE:{{#if:{{{1|}}}|{{#if:{{ | <includeonly>{{DISPLAYTITLE:{{#if:{{NAMESPACE}}|{{NAMESPACE}}:}}{{#if:{{{1|}}}|{{{1}}}|{{#ifeq:{{{id}}}|only|{{#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}}''}}}}}}}}</includeonly><noinclude> | ||
== Usage == | == Usage == | ||
To italicize the full article title, ignoring the identifier if present, use: | 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=only}}</nowiki></code> | |||
For custom italics, use the desired title as the given parameter: | For custom italics, use the desired title as the given parameter: | ||
Line 10: | Line 11: | ||
The line of code should be placed at the very top of the page without any blank lines following it. | 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 == | == See also == |