Template:Ship index/doc

From Wikipedia, the free encyclopedia

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[edit]

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 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[edit]

Template 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]