Jump to content

Wikipedia:WikiProject Ships/Categorization

From Wikipedia, the free encyclopedia
Main Project Page Talk
Things you can do
Information and sources

Individual ship article categorization

[edit]

Individual ship articles should belong to the following categories whenever possible:

Optional categories

[edit]

Optional categories you may wish to apply:

This list is not meant to limit the categories that should be applied to ship articles. Please apply other categories as appropriate.

Ship class article categorization

[edit]

Ship class articles should belong to the following categories:

Ship class articles should NOT belong to the following categories:

  • Country categories. Country categories are for individual ships and for ship class categories, but not ship class articles.

Ship class category categorization

[edit]

Ship class categories should belong to the following categories:

Ship class categories should NOT belong to the following categories:

  • Period categories. Period categories are for individual ships ONLY, not their classes.

Category sorting

[edit]

General tips

[edit]

It is important to make sure the articles will sort in proper alphabetical order . Do not include the ship prefix (e.g. HMAS, USS, SS) in the sorting information. Also, names are often reused, sometimes even in the same period. Include hull classification symbols, hull numbers, pennant numbers, and/or dates from the article name to ensure that ships of the same name sort chronologically.

Use the {{DEFAULTSORT}} magic word to set the sort term for all of a ship's categories. It's used like this:

  • {{DEFAULTSORT:<sort key>}}

Use it once, before the listing of categories, and it will sort the article automatically in each category.

Here is an example of a DEFAULTSORT line from USS Lexington (CV-16):

  • {{DEFAULTSORT:Lexington (CV-16)}} - Right
  • {{DEFAULTSORT:Lexington}} - Incomplete; may not sort properly with USS Lexington (CV-2)
  • {{DEFAULTSORT:USS Lexington (CV-16)}} - Wrong; would lump all USS ships in U and all Commonwealth ships in H.
  • {{DEFAULTSORT:L}} - Wrong; will sort at the beginning of L, ahead of USS Lake Champlain (CV-39)!

Sorting numerically

[edit]

Wikipedia sorts alphabetically rather than numerically, so if you use the following sort keys on USS Lexington (CV-2) and USS Lexington (CV-16) respectively they will sort incorrectly:

  • {{DEFAULTSORT:Lexington (CV-2)}}
  • {{DEFAULTSORT:Lexington (CV-16)}}

When Wikipedia sees that, it compares the names and sees that they're identical up until after "(CV-", but then it compares the 2 and the first digit of 16 and sorts CV-2 after CV-16! In order to fix this, ships with low numbers should be given sort keys like this:

  • {{DEFAULTSORT:Lexington (CV-02)}}

"Low numbers" are relative. The highest-numbered American fleet aircraft carrier is USS George H. W. Bush (CVN-77), so fleet aircraft carriers under 10 should be padded with zeroes. On the other hand, the highest numbered American gun cruiser was USS Newport News (CA-148), so cruisers under 100 should be padded with zeroes.

Ships sold and renamed

[edit]

If a ship was sold to another navy and renamed, it should be sorted alphabetically under the article name, not the new name. For example, USS Stickell (DD-888) was sold to Greece and served in the Hellenic Navy as HNS Kanaris (D-212). Here is how her Hellenic Navy category should look:

  • [[Category:Hellenic Navy ships|Stickell (DD-888)]] - Right
  • [[Category:Hellenic Navy ships|Kanaris (D-212)]] - Wrong; this will sort the ship under K, but it will still be listed as USS Stickell, not HNS Kanaris.
  • Placing [[Category:Hellenic Navy ships|Kanaris (D-212)]] on a redirect called HNS Kanaris (D-212) - Wrong; it might allow "Kanaris" to appear on the category page, but prevents a reader of the Stickell/Kanaris article from finding other Hellenic ships.