Template:Convert/testcases/sandbox4

This is one of several pages used to test the sandbox modules. The test results on the talk page compare the output from the current template with the fixed wikitext below—when the modules are changed, any different results can be investigated to check that the module is performing satisfactorily.

The testcases show convert, but the test uses convert/sandbox because the sandbox template invokes the sandbox modules. The expected result is the text after the template, separated with any amount of whitespace. Any newlines in the output are replaced with " " (two characters).

10 Scwt                                    10 short hundredweight (1,000 lb) 2 ST                               2 short tons 10 cwt (5,000 lb) 200 lb                                200 lb (91 kg; 2 short hundredweight) 4500 lb                                4,500 lb (2 t; 45 short hundredweight) 2 ST                                2 short tons 5 cwt (4,500 lb) 2 LT                                2 long tons 5 cwt (5,040 lb) 2 LT                          2 long tons 5 cwt 3 qtr (5,124 lb) 2 lt                                2 LT 5 cwt (5,040 lb) 2 lt                          2 LT 5 cwt 3 qtr (5,124 lb) 2 lt                               2 LT 10 cwt (5,600 lb) 2 lt                         2 LT 10 cwt 2 qtr (5,656 lb) 2 LT                               2 long tons 10 cwt (5,600 lb) 2 LT                         2 long tons 10 cwt 2 qtr (5,656 lb) 10 Scwt                                   10 short hundredweight (1,000 pounds) 2 ST                              2 short tons 10 hundredweight (5,000 pounds) 200 lb                               200 pounds (91 kilograms; 2 short hundredweight) 4500 lb                               4,500 pounds (2 tonnes; 45 short hundredweight) 2 ST                               2 short tons 5 hundredweight (4,500 pounds) 2 LT                               2 long tons 5 hundredweight (5,040 pounds) 2 LT                         2 long tons 5 hundredweight 3 quarters (5,124 pounds) 2 lt                               2 long tons 5 hundredweight (5,040 pounds) 2 lt                         2 long tons 5 hundredweight 3 quarters (5,124 pounds) 2 lt                              2 long tons 10 hundredweight (5,600 pounds) 2 lt                        2 long tons 10 hundredweight 2 quarters (5,656 pounds) 2 LT                              2 long tons 10 hundredweight (5,600 pounds) 2 LT                        2 long tons 10 hundredweight 2 quarters (5,656 pounds)

-- If a reference is used after an input number, move its strip marker. 125UNIQdbb89ca034aa246d-ref-00000007-QINU ft          125UNIQdbb89ca034aa246d-ref-00000007-QINU feet (38 m) 125UNIQdbb89ca034aa246d-ref-00000007-QINU - 135UNIQ034adbb89caa246d-ref-000abCD7-QINU cm  125UNIQdbb89ca034aa246d-ref-00000007-QINU–135UNIQ034adbb89caa246d-ref-000abCD7-QINU centimetres (49–53 in)

-- An input fraction can use a single U+2044 fraction slash because that can occur when a fraction is copy/pasted. 3⁄8 m                                              3&frasl;8 metre (375.00 mm) 3 ⁄ 8 m                                          3&frasl;8 metre (375.00 mm) 12+5⁄8 m                                           12 5&frasl;8 metres (12,625.00 mm) 12 + 5 ⁄ 8 m                                     12 5&frasl;8 metres (12,625.00 mm)

-- Cost units, with new feature (2014-10-27) where '$' can be replaced with any currency symbol. 12.3 $/acre                                             $12.3 per acre ($30/ha) 12.3 $/ha                                               $12.3 per hectare ($5.0/acre) 12.3 $/m2                                               $12.3 per square metre ($1.14/sq ft) 12.3 $/sqft                                             $12.3 per square foot ($132/m2) 12.3 $/km                                               $12.3 per kilometre ($19.8/mi) 12.3 $/mi                                               $12.3 per mile ($7.6/km) 12.3 $/kg                                               $12.3 per kilogram ($5.6/lb) 12.3 $/g                                                $12.3 per gram ($350/oz) 12.3 $/lb                                               $12.3 per pound ($27/kg) 12.3 $/oz                                               $12.3 per ounce ($0.43/g) 12.3 $/ozt                                              $12.3 per troy ounce ($11.2/oz) 12.3 $/m3                                               $12.3 per cubic metre ($0.35/cu ft) 12.3 $/oilbbl                                           $12.3 per barrel ($77/m3) 12.3 £/acre                                             £12.3 per acre (£30/ha) 12.3 £/ha                                               £12.3 per hectare (£5.0/acre) 12.3 $/acre                                     $12.3/acre ($30/ha) 12.3 $/ha                                       $12.3/ha ($5.0/acre) 12.3 $/m2                                       $12.3/m2 ($1.14/sq ft) 12.3 $/sqft                                     $12.3/sq ft ($132/m2) 12.3 $/km                                       $12.3/km ($19.8/mi) 12.3 $/mi                                       $12.3/mi ($7.6/km) 12.3 $/kg                                       $12.3/kg ($5.6/lb) 12.3 $/g                                        $12.3/g ($350/oz) 12.3 $/lb                                       $12.3/lb ($27/kg) 12.3 $/oz                                       $12.3/oz ($0.43/g) 12.3 $/ozt                                      $12.3/ozt ($11.2/oz) 12.3 $/m3                                       $12.3/m3 ($0.35/cu ft) 12.3 $/oilbbl                                   $12.3/bbl ($77/m3) 12.3 £/acre                                     £12.3/acre (£30/ha) 12.3 £/ha                                       £12.3/ha (£5.0/acre) 12.3 $/acre                                    $12.3 per acre ($30 per hectare) 12.3 $/ha                                      $12.3 per hectare ($5.0 per acre) 12.3 $/m2                                      $12.3 per square metre ($1.14 per square foot) 12.3 $/sqft                                    $12.3 per square foot ($132 per square metre) 12.3 $/km                                      $12.3 per kilometre ($19.8 per mile) 12.3 $/mi                                      $12.3 per mile ($7.6 per kilometre) 12.3 $/kg                                      $12.3 per kilogram ($5.6 per pound) 12.3 $/g                                       $12.3 per gram ($350 per ounce) 12.3 $/lb                                      $12.3 per pound ($27 per kilogram) 12.3 $/oz                                      $12.3 per ounce ($0.43 per gram) 12.3 $/ozt                                     $12.3 per troy ounce ($11.2 per ounce) 12.3 $/m3                                      $12.3 per cubic metre ($0.35 per cubic foot) 12.3 $/oilbbl                                  $12.3 per barrel ($77 per cubic metre) 12.3 £/acre                                    £12.3 per acre (£30 per hectare) 12.3 £/ha                                      £12.3 per hectare (£5.0 per acre) 12.3 $/acre                                      €12.3 per acre (€30/ha) 12.3 $/ha                                        €12.3 per hectare (€5.0/acre) 12.3 $/m2                                        €12.3 per square metre (€1.14/sq ft) 12.3 $/sqft                                      €12.3 per square foot (€132/m2) 12.3 $/km                                        €12.3 per kilometre (€19.8/mi) 12.3 $/mi                                        €12.3 per mile (€7.6/km) 12.3 $/kg                                        €12.3 per kilogram (€5.6/lb) 12.3 $/g                                         €12.3 per gram (€350/oz) 12.3 $/lb                                        €12.3 per pound (€27/kg) 12.3 $/oz                                        €12.3 per ounce (€0.43/g) 12.3 $/ozt                                       €12.3 per troy ounce (€11.2/oz) 12.3 $/m3                                        €12.3 per cubic metre (€0.35/cu ft) 12.3 $/oilbbl                                    €12.3 per barrel (€77/m3) 12.3 £/acre                                      €12.3 per acre (€30/ha) 12.3 £/ha                                        €12.3 per hectare (€5.0/acre) 12.3 $/acre                              €12.3/acre (€30/ha) 12.3 $/ha                                €12.3/ha (€5.0/acre) 12.3 $/m2                                €12.3/m2 (€1.14/sq ft) 12.3 $/sqft                              €12.3/sq ft (€132/m2) 12.3 $/km                                €12.3/km (€19.8/mi) 12.3 $/mi                                €12.3/mi (€7.6/km) 12.3 $/kg                                €12.3/kg (€5.6/lb) 12.3 $/g                                 €12.3/g (€350/oz) 12.3 $/lb                                €12.3/lb (€27/kg) 12.3 $/oz                                €12.3/oz (€0.43/g) 12.3 $/ozt                               €12.3/ozt (€11.2/oz) 12.3 $/m3                                €12.3/m3 (€0.35/cu ft) 12.3 $/oilbbl                            €12.3/bbl (€77/m3) 12.3 £/acre                              €12.3/acre (€30/ha) 12.3 £/ha                                €12.3/ha (€5.0/acre) 12.3 $/acre                             €12.3 per acre (€30 per hectare) 12.3 $/ha                               €12.3 per hectare (€5.0 per acre) 12.3 $/m2                               €12.3 per square metre (€1.14 per square foot) 12.3 $/sqft                             €12.3 per square foot (€132 per square metre) 12.3 $/km                               €12.3 per kilometre (€19.8 per mile) 12.3 $/mi                               €12.3 per mile (€7.6 per kilometre) 12.3 $/kg                               €12.3 per kilogram (€5.6 per pound) 12.3 $/g                                €12.3 per gram (€350 per ounce) 12.3 $/lb                               €12.3 per pound (€27 per kilogram) 12.3 $/oz                               €12.3 per ounce (€0.43 per gram) 12.3 $/ozt                              €12.3 per troy ounce (€11.2 per ounce) 12.3 $/m3                               €12.3 per cubic metre (€0.35 per cubic foot) 12.3 $/oilbbl                           €12.3 per barrel (€77 per cubic metre) 12.3 £/acre                             €12.3 per acre (€30 per hectare) 12.3 £/ha                               €12.3 per hectare (€5.0 per acre) 12.3 $/acre                                         €12.3 per acre (€30/ha) 12.3 $/ha                                           €12.3 per hectare (€5.0/acre) 12.3 $/m2                                           €12.3 per square metre (€1.14/sq ft) 12.3 $/sqft                                         €12.3 per square foot (€132/m2) 12.3 $/km                                           €12.3 per kilometre (€19.8/mi) 12.3 $/mi                                           €12.3 per mile (€7.6/km) 12.3 $/kg                                           €12.3 per kilogram (€5.6/lb) 12.3 $/g                                            €12.3 per gram (€350/oz) 12.3 $/lb                                           €12.3 per pound (€27/kg) 12.3 $/oz                                           €12.3 per ounce (€0.43/g) 12.3 $/ozt                                          €12.3 per troy ounce (€11.2/oz) 12.3 $/m3                                           €12.3 per cubic metre (€0.35/cu ft) 12.3 $/oilbbl                                       €12.3 per barrel (€77/m3) 12.3 £/acre                                         €12.3 per acre (€30/ha) 12.3 £/ha                                           €12.3 per hectare (€5.0/acre) 12.3 $/acre                                 €12.3/acre (€30/ha) 12.3 $/ha                                   €12.3/ha (€5.0/acre) 12.3 $/m2                                   €12.3/m2 (€1.14/sq ft) 12.3 $/sqft                                 €12.3/sq ft (€132/m2) 12.3 $/km                                   €12.3/km (€19.8/mi) 12.3 $/mi                                   €12.3/mi (€7.6/km) 12.3 $/kg                                   €12.3/kg (€5.6/lb) 12.3 $/g                                    €12.3/g (€350/oz) 12.3 $/lb                                   €12.3/lb (€27/kg) 12.3 $/oz                                   €12.3/oz (€0.43/g) 12.3 $/ozt                                  €12.3/ozt (€11.2/oz) 12.3 $/m3                                   €12.3/m3 (€0.35/cu ft) 12.3 $/oilbbl                               €12.3/bbl (€77/m3) 12.3 £/acre                                 €12.3/acre (€30/ha) 12.3 £/ha                                   €12.3/ha (€5.0/acre) 12.3 $/acre                                €12.3 per acre (€30 per hectare) 12.3 $/ha                                  €12.3 per hectare (€5.0 per acre) 12.3 $/m2                                  €12.3 per square metre (€1.14 per square foot) 12.3 $/sqft                                €12.3 per square foot (€132 per square metre) 12.3 $/km                                  €12.3 per kilometre (€19.8 per mile) 12.3 $/mi                                  €12.3 per mile (€7.6 per kilometre) 12.3 $/kg                                  €12.3 per kilogram (€5.6 per pound) 12.3 $/g                                   €12.3 per gram (€350 per ounce) 12.3 $/lb                                  €12.3 per pound (€27 per kilogram) 12.3 $/oz                                  €12.3 per ounce (€0.43 per gram) 12.3 $/ozt                                 €12.3 per troy ounce (€11.2 per ounce) 12.3 $/m3                                  €12.3 per cubic metre (€0.35 per cubic foot) 12.3 $/oilbbl                              €12.3 per barrel (€77 per cubic metre) 12.3 £/acre                                €12.3 per acre (€30 per hectare) 12.3 £/ha                                  €12.3 per hectare (€5.0 per acre) 12.3 $/m3                            €12.3 per cubic meter (€0.35 per cubic foot)

-- sortable=on/out 2 ft                         2 ft 6 in (76 cm) 76.2 cm                         76.2 cm (2 ft 6.0 in) 2 ft             style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|76 cm 76.2 cm              style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm\n|style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in 2 ft               76 cm (2 ft 6 in) 76.2 cm              2 ft 6.0 in (76.2 cm) 2 ft  style="text-align:right;" data-sort-value="6999762000000000000"|76 cm\n|style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6 in 76.2 cm   style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm 76.2 cm                    76.2 cm (2 ft 6.0 in; 762 mm; 30.0 in) 76.2 cm                        76.2 cm (762 mm; 30.0 in) 76.2 cm                           76.2 cm (30.0 in) 76.2 cm       style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm\n|style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|762 mm\n|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in 76.2 cm             style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm\n|style="text-align:right;" data-sort-value="6999762000000000000"|762 mm\n|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in 76.2 cm                style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm\n|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in 76.2 cm         2 ft 6.0 in; 762 mm; 30.0 in (76.2 cm) 76.2 cm             762 mm; 30.0 in (76.2 cm) 76.2 cm                30.0 in (76.2 cm) 76.2 cm style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|762 mm\n|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm 76.2 cm  style="text-align:right;" data-sort-value="6999762000000000000"|762 mm\n|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm 76.2 cm     style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in\n|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm

-- comma=... 1234 m                                               1,234 metres (48,600 in) 1234 m                                       1234 metres (48,600 in) 1234 m                                    1 234  metres ( 48 600  in) 1234 m                                   1 234  metres ( 48 600  in) 1234 m                                     1234 metres (48600 in) 123456789 m                                          123,456,789 metres (123,456.789 km) 123456789 m                                  123,456,789 metres (123,456.789 km) 123456789 m                               123 456 789  metres ( 123 456.789  km) 123456789 m                              123 456 789  metres ( 123 456.789  km) 123456789 m                                123456789 metres (123456.789 km) 1234 to 5678 kg                                      1,234 to 5,678 kilograms (43,500 to 200,300 oz) 1234 to 5678 kg                              1234 to 5678 kilograms (43,500 to 200,300 oz) 1234 to 5678 kg                           1 234  to 5 678  kilograms ( 43 500  to 200 300  oz) 1234 to 5678 kg                          1 234  to 5 678  kilograms ( 43 500  to 200 300  oz) 1234 to 5678 kg                            1234 to 5678 kilograms (43500 to 200300 oz)

-- singular/plural changes in version 7 1/2 ft                               1&frasl;2 foot ( 1&frasl;2 foot) 1/2 mi                      one-half mile (one-half mile) 999 ft                             999 feet (1,000 feet) 9 ft                                     9 feet (10 feet) 1.0 ft                             1.0 foot (1.0 foot) 0 sqyd                                             0 square yards (0 acres) -1 acre                                   −1 acre (−4,800 sq yd) 0.1 ha                                             0.1 hectares (0.25 acres)

-- fractions use templatestyles in version 25 2/3 ft                                               2&frasl;3 foot (8.0 in) 1+2/3 ft                                             1 2&frasl;3 feet (20 in) -2/3 ft                                              −2&frasl;3 foot (−8.0 in) -1-2/3 ft                                            −1 2&frasl;3 feet (−20 in) 2/3 ft                                      two-thirds foot (8.0 in) 1+2/3 ft                                    one and two-thirds feet (20 in) 5/8 m                                  5&frasl;8 m ( 5&frasl;8 m) 12+5/8 m                                12 5&frasl;8 m ( 12 5&frasl;8 m) 2//3 ft                                                2 / 3  foot (8.0 in) 1+2//3 ft                                            1  2 / 3   feet (20 in) -2//3 ft                                              −2 / 3  foot (−8.0 in) -1-2//3 ft                                           −1  2 / 3   feet (−20 in) 2//3 ft                                     two-thirds foot (8.0 in) 1+2//3 ft                                   one and two-thirds feet (20 in) 5//8 m                                 5 / 8  m ( 5 / 8  m) 12+5//8 m                              12  5 / 8   m ( 12  5 / 8   m)