Template:Italic title prefixed

Documentation icon Template documentation[view] [edit] [history] [purge]

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:

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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>