Template:Ship prefix/doc

Usage
Returns the length of the first word (i.e. the number of characters before the first space) if that word is one of the ship prefixes listed in the template code; returns 0 otherwise. For example:
 * returns ("HMS" is listed)
 * returns ("German" is not listed)

For use in Template:Infobox ship begin, for italicizing titles of ship articles.