Difference between revisions of "Template:Italic title prefixed/doc"
imported>GreenComputer (Added TemplateData) |
imported>Vanisaac m (→TemplateData: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 31: | Line 31: | ||
</templatedata> | </templatedata> | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Correct title templates|{{PAGENAME}}]] | [[Category:Correct title templates|{{PAGENAME}}]] | ||
[[tr:Şablon:Italic title prefixed]] | [[tr:Şablon:Italic title prefixed]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 22:40, 25 April 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 at Wikipedia talk:High-risk templates 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
NB This is used as a subtemplate of {{Infobox ship begin}}.
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 |