Template:Italic title prefixed
This template is used on many 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 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}}
{{Italics correction}}
{{Title language}}
Wiki markup Transclusion from template: |
Involves | Correct name | Actual article name |
---|---|---|---|
{{Italic title}} | Title in italics | To Kill a Mockingbird | To Kill a Mockingbird |
{{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 |string= in italics
|
List of Ally McBeal episodes | List of Ally McBeal episodes |
{{Italic title|all=yes|string=Fringe}} | Phrase of |string= in italics; also looks in parentheses
|
Peter (Fringe episode) | Peter (Fringe episode) |
{{Italic disambiguation}} | Disambiguation in italics | The End (Lost) | The End (Lost) |
{{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 | ||
{{Lowercase title|dab=yes}} | Lowercase first character and place disambiguation in italics | iSpy (Modern Family) | ISpy (Modern Family) |
{{Correct title|reason=bracket}} | < > [ ] { } | Benzo[a]pyrene | Benzo(a)pyrene |
{{Correct title|reason=#}} | # | Pilot #5 | Pilot No. 5 |
{{Correct title|reason=:}} | : | DK: King of Swing | DK King of Swing |
Magic word: | |||
{{DISPLAYTITLE}} | Various | _NSAKEY | NSAKEY |