Category:WPSHIPS: sclass and sclass2 errors

Source: Wikipedia, the free encyclopedia.

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 →
      harbor tug
    • 4 – noun form → Valiant class
    • 5 – class name without 'class' annotation and ship type → Valiant
    • <blank> – defaul; same as format code 3 →
      harbor tug

Pages in category "WPSHIPS: sclass and sclass2 errors"

This category contains only the following page. This list may not reflect recent changes.