• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Ship index/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Ship index
list of ships with the same or similar names
This article includes a 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 is the template sandbox page for Template:Ship index (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 7,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 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

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
  • {{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.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Ship_index/sandbox&oldid=1008004496"
Last edited on 21 February 2021, at 01:57

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 21 February 2021, at 01:57 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop