This is a documentation subpage for Template:Ship index. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 7,100 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. |
This is the {{Ship index}} or ship index article template.
It can be used to mark a page as a set index article about ships. It is usually placed at the bottom of the page.
This template adds the page to Category:Set index articles on ships.
Usage
editThis template can be used without any parameters like this:
{{Ship index}}
Editors usually, however, want to control how the page is sorted in Category:Set index articles on ships. This is accomplished by using the "name=" parameter, like this:
{{Ship index|name=ship, prefix}}
- ship is the name of the ship index page without prefixes or preceding national identifiers
- prefix is the ship prefix or navy identifier
See Wikipedia:WikiProject Ships/Guidelines#Index pages for guidance on formatting ship index pages.
Examples
editTemplate usage | Result |
---|---|
{{Ship index|name=Océan, French ship}} | French ship Océan sorts under "O" in Category:Set index articles on ships |
{{Ship index|name=Intrepid, HMS}} | HMS Intrepid sorts under "I" in Category:Set index articles on ships |
{{Ship index|name=Intrepid, USS}} | USS Intrepid sorts under "I" in Category:Set index articles on ships |
See also
edit- {{Mountain index}} – For set index articles about mountain names.
- {{Set index article}} – The generic set index article message box.
- {{Disambiguation}} – The generic disambiguation message box.
- Wikipedia:Disambiguation#Set index articles – This section explains set index articles.
- Wikipedia:WikiProject Disambiguation