Category:WPSHIPS: Template Ship parameter errors - Wikipedia
From Wikipedia, the free encyclopedia
![]() | This category is not shown on its member pages unless the appropriate user preference (appearance → show hidden categories) is set. |
![]() | It is used to build and maintain a list or lists of pages—primarily for the sake of the lists themselves and their use in article and category maintenance. It is not part of the encyclopedia's categorization scheme. |
![]() | Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time. |
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:
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 to5
or6
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 is1
,3
, or5
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 not1
,2
,3
,5
, or6
; the invalid control parameter is specified in the error message