Difference between revisions of "Template:Italic title prefixed/doc"
imported>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Gonnym (not used as a sub-template of it) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | {{High-use | + | {{High-use}} |
This template works like {{tl|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.) | This template works like {{tl|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.) | ||
| Line 9: | Line 9: | ||
Examples: | Examples: | ||
*{{tlx|Italic title prefixed|17}} used on the page [[German battleship Bismarck]] causes the title to be displayed as '''German battleship'' Bismarck''''' | *{{tlx|Italic title prefixed|17}} used on the page [[German battleship Bismarck]] causes the title to be displayed as '''German battleship'' Bismarck''''' | ||
| − | |||
| − | |||
==TemplateData== | ==TemplateData== | ||
Latest revision as of 12:55, 4 November 2020
| 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 approximately 8,200 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.
Transclusion count updated automatically (see documentation). |
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.)
The next character after the prefix of the specified length must be a space.
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
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Number of characters | 1 | The number of characters not to be italicized. The next character after the prefix of the specified length must be a space. | Number | required |