Category:WPSHIPS: sclass and sclass2 errors
Appearance
![]() | This is a tracking category. 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.
More information:
|
![]() | Administrators: Please do not delete this category as empty! This category may be empty occasionally or even most of the time. |
This is a tracking category for {{sclass}}
and {{sclass2}}
errors.
The templates have the form ({{sclass2}}
is the same):
{{sclass|<class name>|<ship type>|<format>|<ship type disambiguator>|<class name disambiguator>
The templates can detect certain malformed transclusions and emit these error messages:
- missing required parameter: class name – the first positional parameter
- missing required parameter: ship type – the second positional parameter
- invalid format code: <code>. Should be 0–5, or blank
- Valid format codes are:
- 0 – adjectival form → Valiant-class
- 1 – single link form → Valiant-class harbor tug
- 2 – ship type not linked → Valiant-class harbor tug
- 3 – separate class name and ship type links; same as <blank> format code → Valiant-class harbor tug
- 4 – noun form → Valiant class
- 5 – class name without 'class' annotation and ship type → Valiant
- <blank> – defaul; same as format code 3 → Valiant-class harbor tug
- Valid format codes are:
Pages in category "WPSHIPS: sclass and sclass2 errors"
This category contains only the following page. This list may not reflect recent changes.