| This is a documentation subpage for Template:Italic title prefixed. It may contain usage information, categories and other content that is not part of the original template page. |
__EXPECTED_UNCONNECTED_PAGE__
| This template is used on approximately 8,800 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
This template works like {{Italic title}}, except that it contains a numerical parameter which causes a particular number of characters at the beginning of the title not to be italicized. (This is useful in ship articles, where the name of the ship should be italicized, but the prefix such as "HMS" should not.)
Examples:
{{Italic title prefixed|17}}used on the page German battleship Bismarck causes the title to be displayed as German battleship Bismarck
TemplateData
TemplateData for Italic title prefixed
<templatedata> { "params": { "1": { "label": "Number of characters", "description": "The number of characters not to be italicized.", "type": "number", "required": true }, "force": { "label": "Include brackets", "description": "By default, a title like HMS Boat (1997) will not have the \"(1997)\" italicised. Setting this to any value causes it to be italicised.", "type": "string" } }, "description": "This template works like , except that it contains a numerical parameter which causes a particular number of characters at the beginning of the title not to be italicized.", "paramOrder": [ "1", "force" ] } </templatedata>
See also
- WP:ITALICTITLE
{{Italic title}}{{Italic disambiguation}}{{Italics correction}}{{Title language}}
| Wiki markup Transclusion from template: |
Involves | Correct name | Actual article name |
|---|---|---|---|
| {{Italic title}} | Title in italics | Odyssey | Odyssey |
| {{Italic title|all=yes}} | Complete title in italics, including parentheses | Randall and Hopkirk (Deceased) | Randall and Hopkirk (Deceased) |
| {{Italic title|string=Ally McBeal}} | Phrase of <syntaxhighlight lang="wikitext" inline style="display: none;" />|string= in italics
|
List of Ally McBeal episodes | List of Ally McBeal episodes |
| {{Italic title|all=yes|string=Time}} | Phrase of <syntaxhighlight lang="wikitext" inline style="display: none;" />|string= in italics; also looks in parentheses
|
You (Time Person of the Year) | You (Time Person of the Year) |
| {{Italic disambiguation}} | Disambiguation in italics | Yahoo (Gulliver's Travels) | Yahoo (Gulliver's Travels) |
| {{Lowercase title}} | Lowercase first character | eBay | EBay |
| {{Lowercase title|italic=yes}} | Lowercase first character and place title in italics, not including disambiguation | iCarly (soundtrack) | ICarly (soundtrack) |
| {{Lowercase title|italic=yes|force=yes}} | Lowercase first character and place title in italics, including disambiguation | i 2 (EYE) | I 2 (EYE) |
| {{Lowercase title|dab=yes}} | Lowercase first character and place disambiguation in italics | iSpy (Modern Family) | ISpy (Modern Family) |
| {{Italic title prefixed|10}} | Italicize after the number of characters at the beginning of the title, not including disambiguation | Battlestar Galactica (fictional spacecraft) | Battlestar Galactica (fictional spacecraft) |
| {{Italic title prefixed|11|force=yes}} | Italicize after the number of characters at the beginning of the title, including disambiguation | Bill C-27: An Act to amend the Criminal Code (identity theft and related misconduct) | Bill C-27: An Act to amend the Criminal Code (identity theft and related misconduct) |
| {{Title language|la}} | Indicates that the title is in the foreign language specified by the parameter and sets the text to italics. Preferable to {{Italic title}} for foreign titles per MOS:FOREIGNITALICS | Ad hominem | Ad hominem |
| {{Title language|de|italic=no}} | Indicates that the title is in the foreign language specified by the parameter but disables italics | Schottenstift | Schottenstift |
| Magic word | |||
| {{DISPLAYTITLE:_NSAKEY}} | Various | _NSAKEY | NSAKEY |
| Title corrections | |||
| {{Correct title}} | Various | <|°_°|> | Robot Face |
| {{Correct title|reason=bracket}} | < > [ ] { } | Benzo[a]pyrene | Benzo(a)pyrene |
| {{Correct title|reason=#}} | # | Pilot #5 | Pilot No. 5 |
| {{Correct title|reason=vbar}} | | | C|T Group | C/T Group |
| {{Correct title|reason=:}} | : | DK: King of Swing | DK King of Swing |
| {{Correct title|reason=.}} | . | . | Period (album) |
| {{Correct title|reason=length}} | Title exceeding 256 bytes | The Boy Bands Have Won, and All the Copyists and the Tribute Bands and the TV Talent Show Producers Have Won, If We Allow Our Culture to Be Shaped by Mimicry, Whether from Lack of Ideas or from Exaggerated Respect. You Should Never Try to Freeze Culture. What You Can Do Is Recycle That Culture. Take Your Older Brother's Hand-Me-Down Jacket and Re-Style It, Re-Fashion It to the Point Where It Becomes Your Own. But Don't Just Regurgitate Creative History, or Hold Art and Music and Literature as Fixed, Untouchable and Kept Under Glass. The People Who Try to 'Guard' Any Particular Form of Music Are, Like the Copyists and Manufactured Bands, Doing It the Worst Disservice, Because the Only Thing That You Can Do to Music That Will Damage It Is Not Change It, Not Make It Your Own. Because Then It Dies, Then It's Over, Then It's Done, and the Boy Bands Have Won. | The Boy Bands Have Won |