Jump to content

Category:WPSHIPS: Template Ship parameter errors

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 2 pages are in this category, out of 2 total. This list may not reflect recent changes.