Template:Infobox ship begin/testcases

2021-06-20
This is a comparison of the live (on the left) and sandbox (on the right) versions of, , and. The sandbox templates are implemented in Module:WPSHIPS utilities/sandbox. Shifting to the module removes the redundant html markup; simplifies the markup, and fixes certain anomalies in the markup. The sandbox infoboxen also implement the requested change to how labels in the infoboxen are rendered; see.

Aside from the labeling style change, the sandbox infoboxen now detect the use of synonymous parameters:
 * Ship struck and Ship stricken
 * Ship honours and Ship honors
 * Ship draught and Ship draft
 * Ship armour and Ship armor
 * Ship draught and Ship draft
 * Ship armour and Ship armor

When both of a pair of synonymous parameters have assigned values, the sandbox infobox renders the parameters with an error message:.

The live emits  when those parameters are both used; the other synonymous parameters are not categorized. The sandbox infoboxen categorize all misuses of synonymous parameters into.