Template:Ship index/sandbox
Jump to navigation
Jump to search
list of ships with the same or similar names. If an internal link for a specific ship led you here, you may wish to change the link to point directly to the intended ship article, if one exists. | This article includes a
This is the template sandbox page for Template:Ship index (diff). See also the companion subpage for test cases. |
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 indices on ships.
Usage
This 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 indices 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
Template usage | Result |
---|---|
{{Ship index|name=Océan, French ship}} | French ship Océan sorts under "O" in Category:Set indices on ships |
{{Ship index|name=Intrepid, HMS}} | HMS Intrepid sorts under "I" in Category:Set indices on ships |
{{Ship index|name=Intrepid, USS}} | USS Intrepid sorts under "I" in Category:Set indices on ships |
See also
- {{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
The above documentation is transcluded from Template:Ship index/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |