Template:Italic title prefixed/doc
This is a documentation subpage for Template:Italic title prefixed. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please 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>