This is the template sandbox page for Template:Ship index (diff). See also the companion subpage for test cases. |
This template is used on approximately 7,100 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.
Preview message: Transclusion count updated automatically (see documentation). |
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.
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}}
See Wikipedia:WikiProject Ships/Guidelines#Index pages for guidance on formatting ship index pages.
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 |