Category:WPSHIPS: Template Ship parameter errors

Source: Wikipedia, the free encyclopedia.

Populated by {{Ship}} and individual ship-prefix templates like {{HMS}} when errors in a template's parameters are detected. These templates take the forms:

{{ship|<prefix>|<name>|<disambiguator>|<format control>}}
{{HMS|<name>|<disambiguator>|<format control>}}

When errors are detected, the templates emit error messages in the forms:

Error: {{Ship}} <message> (help)
Error: {{HMS}} <message> (help)

where the help link links to this page.

The messages are:

missing prefix{{ship}} only – this message is emitted when the |<prefix> positional parameter is present but empty AND |<format control> positional parameter is set to 5 or 6 OR when |up=yes
missing name – these templates require the ship's name in the |<name> positional parameter
missing disambiguator – when the |<format control> positional parameter is 1, 3, or 5 the template requires a value in |<disambiguator>
invalid control parameter: <detail> – this message emitted when the |<format control> positional parameter holds a value that is not 1, 2, 3, 5, or 6; the invalid control parameter is specified in the error message

See also: Category:Pages using Ship with unknown parameters

Pages in category "WPSHIPS: Template Ship parameter errors"

The following 5 pages are in this category, out of 5 total. This list may not reflect recent changes.