Template:Italic title prefixed/doc

From MOASSpedia
< Template:Italic title prefixed
Revision as of 19:13, 25 October 2021 by Wikipedia>Voidxor (Rm duplicate links per MOS:DUPLINK.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Italic title prefixed

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.

Template parameters

ParameterDescriptionTypeStatus
Number of characters1

The number of characters not to be italicized.

Numberrequired
Include bracketsforce

By default, a title like HMS Boat (1997) will not have the "(1997)" italicised. Setting this to any value causes it to be italicised.

Stringoptional