Template:Ship index/doc

From IxWiki
Revision as of 19:07, 26 April 2020 by >Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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