:Category:WPSHIPS: Template Ship parameter errors

{{hidden category}}

{{tracking category}}

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

:{{ship|<{{var|prefix}}>|<{{var|name}}>|<{{var|disambiguator}}>|<{{var|format control}}>}}

:{{HMS|<{{var|name}}>|<{{var|disambiguator}}>|<{{var|format control}}>}}

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

:Error: {{Ship}} <{{var|message}}> (help)

:Error: {{HMS}} <{{var|message}}> (help)

where the help link links to this page.

The messages are:

:missing prefix – {{tld|ship}} only – this message is emitted when the |<{{var|prefix}}> positional parameter is present but empty AND |<{{var|format control}}> positional parameter is set to 5 or 6 OR when {{para|up|yes}}

:missing name – these templates require the ship's name in the |<{{var|name}}> positional parameter

:missing disambiguator – when the |<{{var|format control}}> positional parameter is 1, 3, or 5 the template requires a value in |<{{var|disambiguator}}>

:invalid control parameter: <{{var|detail}}> – this message emitted when the |<{{var|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: {{cl|Pages using Ship with unknown parameters}}

Category:WPSHIPS:Template errors