User:Johnuniq/Making the units table

This script is now at Module:Convert/makeunits.

I tried to move this page to the destination, but got an error ("Can not convert from wikitext to Scribunto"), so did a copy/paste instead.