Module:Val/units

local units = { A = { unit = 'A', link = 'ampere' }, aA = { unit = 'aA', link = 'attoampere' }, AD = { unit = 'AD', link = 'Anno Domini' }, aG = { unit = 'aG', link = 'attogauss' }, ag = { unit = 'ag', link = 'attogram' }, aHz = { unit = 'aHz', link = 'attohertz' }, aK = { unit = 'aK', link = 'attokelvin' }, am = { unit = 'am', link = 'attometre' }, aT = { unit = 'aT', link = 'attotesla' }, BC = { unit = 'BC', link = 'Before Christ' }, BCE = { unit = 'BCE', link = 'Before the Common Era' }, ['bit/s'] = { unit = 'bit/s', link = 'bit per second', pre = , suff =  }, bps = { unit = 'bit/s', link = 'bit per second', pre = , suff =  }, BP = { unit = 'BP', link = 'Before present' }, bya = { unit = 'bya', link = 'billion years ago' }, byr = { unit = 'byr', link = 'billion years' }, C = { unit = 'C', link = 'coulomb' }, c = { unit = c, link = 'speed of light' }, cA = { unit = 'cA', link = 'centiampere' }, CE = { unit = 'CE', link = 'Common Era' }, cG = { unit = 'cG', link = 'centigauss' }, cg = { unit = 'cg', link = 'centigram' }, cHz = { unit = 'cHz', link = 'centihertz' }, cK = { unit = 'cK', link = 'centikelvin' }, ['cm-1'] = { unit = 'cm&minus;1', link = 'wavenumber' }, cT = { unit = 'cT', link = 'centitesla' }, cV = { unit = 'cV', link = 'volt' }, dA = { unit = 'dA', link = 'ampere' }, daA = { unit = 'daA', link = 'decaampere' }, daG = { unit = 'daG', link = 'decagauss' }, dag = { unit = 'dag', link = 'decagram' }, daHz = { unit = 'daHz', link = 'decahertz' }, daK = { unit = 'daK', link = 'decakelvin' }, daT = { unit = 'daT', link = 'decatesla' }, daV = { unit = 'daV', link = 'volt' }, degC = { unit = '°C', link = 'degree Celsius' }, degF = { unit = '°F', link = 'Fahrenheit' }, degR = { unit = '°R', link = 'Rankine scale' }, dG = { unit = 'dG', link = 'decigauss' }, dg = { unit = 'dg', link = 'decigram' }, dHz = { unit = 'dHz', link = 'hertz' }, dK = { unit = 'dK', link = 'decikelvin' }, dT = { unit = 'dT', link = 'decitesla' }, dV = { unit = 'dV', link = 'volt' }, EA = { unit = 'EA', link = 'ampere' }, ['Earth mass'] = { unit = 'M⊕', link = 'Earth mass' }, ['Earth radius'] = { unit = 'R⊕', link = 'Earth radius' }, EG = { unit = 'EG', link = 'exagauss' }, Eg = { unit = 'Eg', link = 'exagram' }, EHz = { unit = 'EHz', link = 'exahertz' }, EK = { unit = 'EK', link = 'exakelvin' }, ET = { unit = 'ET', link = 'exatesla' }, EV = { unit = 'EV', link = 'volt' }, ['eV/c2'] = { unit = 'eV/c2', link = 'electronvolt#Mass', pre = , suff =  }, F = { unit = 'F', link = 'farad' }, fA = { unit = 'fA', link = 'femtoampere' }, ['fb-1'] = { unit = 'fb&minus;1', link = 'Barn (unit)' }, fG = { unit = 'fG', link = 'femtogauss' }, fg = { unit = 'fg', link = 'femtogram' }, fHz = { unit = 'fHz', link = 'femtohertz' }, fK = { unit = 'fK', link = 'femtokelvin' }, fT = { unit = 'fT', link = 'femtotesla' }, fV = { unit = 'fV', link = 'femtovolt' }, gal = { unit = 'gal', link = 'gallon' }, ['g/cm3'] = { unit = 'g/cm3', link = 'gram per cubic centimetre' }, ['g/l'] = { unit = 'g/l', link = 'gram per litre', pre = , suff =  }, ['g/L'] = { unit = 'g/L', link = 'gram per litre', pre = , suff =  }, ['g*mol-1'] = { unit = 'g&sdot;mol&minus;1', link = 'molar mass', pre = , suff =  }, ['g/mol'] = { unit = 'g&sdot;mol&minus;1', link = 'molar mass', pre = , suff =  }, GA = { unit = 'GA', link = 'gigaampere' }, Ga = { unit = 'Ga', link = 'gigaannum' }, ['Gbit/s'] = { unit = 'Gbit/s', link = 'gigabit per second', pre = , suff =  }, ['GeV/c2'] = { unit = 'GeV/c2', link = 'electronvolt#Mass', pre = , suff =  }, GG = { unit = 'GG', link = 'gigagauss' }, Gg = { unit = 'Gg', link = 'gigagram' }, GHz = { unit = 'GHz', link = 'gigahertz' }, ['GJ*mol-1'] = { unit = 'GJ&sdot;mol&minus;1', link = 'joule per mole', pre = , suff =  }, ['GJ/mol'] = { unit = 'GJ/mol', link = 'joule per mole', pre = , suff =  }, GK = { unit = 'GK', link = 'gigakelvin' }, GPa = { unit = 'GPa', link = 'gigapascal' }, Gpc = { unit = 'Gpc', link = 'megaparsec#Megaparsecs_and_gigaparsecs' }, ['Gpc2'] = { unit = 'Gpc2', link = 'megaparsec#Megaparsecs_and_gigaparsecs' }, ['Gpc3'] = { unit = 'Gpc3', link = 'megaparsec#Megaparsecs_and_gigaparsecs' }, GT = { unit = 'GT', link = 'gigatesla' }, GV = { unit = 'GV', link = 'gigavolt' }, Gyr = { unit = 'Ga', link = 'gigaannum' }, H = { unit = 'H', link = 'Henry (unit)' }, ['H*m-1'] = { unit = 'H', link = 'Henry (unit)', pre = '', suff = '&sdot;m&minus;1' }, hA = { unit = 'hA', link = 'hectoampere' }, hG = { unit = 'hG', link = 'hectogauss' }, hg = { unit = 'hg', link = 'hectogram' }, hHz = { unit = 'hHz', link = 'hectohertz' }, hK = { unit = 'hK', link = 'hectokelvin' }, hT = { unit = 'hT', link = 'hectotesla' }, hV = { unit = 'hV', link = 'volt' }, Hz = { unit = 'Hz', link = 'hertz' }, ['Jupiter mass'] = { unit = 'MJ', link = 'Jupiter mass' }, ['Jupiter radius'] = { unit = 'RJ', link = 'Jupiter radius' }, ['J/kg'] = { unit = 'J/kg', link = 'joule', pre = , suff =  }, ['J*mol-1'] = { unit = 'J&sdot;mol&minus;1', link = 'joule per mole', pre = , suff =  }, ['J/mol'] = { unit = 'J/mol', link = 'joule per mole', pre = , suff =  }, Js = { unit = 'J&sdot;s', link = 'joule-second', pre = , suff =  }, ['J*s'] = { unit = 'J&sdot;s', link = 'joule-second', pre = , suff =  }, kA = { unit = 'kA', link = 'kiloampere' }, ka = { unit = 'ka', link = 'kiloannum' }, ['kbit/s'] = { unit = 'kbit/s', link = 'kilobit per second', pre = , suff =  }, ['keV/c2'] = { unit = 'keV/c2', link = 'electronvolt#Mass', pre = , suff =  }, kG = { unit = 'kG', link = 'kilogauss' }, ['kg/cm3'] = { unit = 'kg/cm3', link = 'density#Formula_and_common_units', pre = , suff =  }, ['kg/m3'] = { unit = 'kg/m3', link = 'kilogram per cubic metre' }, ['kg/mol'] = { unit = 'kg&sdot;mol&minus;1', link = 'molar mass', pre = , suff =  }, kHz = { unit = 'kHz', link = 'Kilohertz' }, kpc = { unit = 'kpc', link = 'kiloparsec' }, ['kpc2'] = { unit = 'kpc2', link = 'kiloparsec' }, ['kpc3'] = { unit = 'kpc3', link = 'kiloparsec' }, ['kJ*mol-1'] = { unit = 'kJ&sdot;mol&minus;1', link = 'joule per mole', pre = , suff =  }, ['kJ/mol'] = { unit = 'kJ/mol', link = 'joule per mole', pre = , suff =  }, kK = { unit = 'kK', link = 'kilokelvin' }, KPa = { unit = 'kPa', link = 'pascal (unit)' }, kT = { unit = 'kT', link = 'kilotesla' }, kV = { unit = 'kV', link = 'kilovolt' }, ['kW·h'] = { unit = 'kW&sdot;h', link = 'kilowatt hour', pre = , suff =  }, ['kW.h'] = { unit = 'kW&sdot;h', link = 'kilowatt hour', pre = , suff =  }, kWh = { unit = 'kWh', link = 'kilowatt hour' }, kya = { unit = 'kya', link = 'kyr' }, kyr = { unit = 'kyr', link = 'kyr' }, lbf = { unit = 'lbF', link = 'Pound (force)' }, lbm = { unit = 'lbm', link = 'Pound (mass)' }, ly = { unit = 'ly', link = 'light-year' }, ['L_solar'] = { unit = 'L&#x2609;', link = 'solar luminosity' }, ['m-3'] = { unit = 'm&minus;3', link = 'cubic metre' }, ['m-2'] = { unit = 'm&minus;2', link = 'square metre' }, ['m-1'] = { unit = 'm&minus;1', link = 'metre' }, m = { unit = 'm', link = 'metre' }, ['metre|meter'] = { unit = 'm', link = 'metre' }, ['m*s-1'] = { unit = 'm&sdot;s&minus;1', link = 'metre per second', pre = , suff =  }, ['m*s-2'] = { unit = 'm&sdot;s&minus;2', link = 'metre per second squared', pre = , suff =  }, ['M_Earth'] = { unit = 'M⊕', link = 'Earth mass' }, ['M_Jupiter'] = { unit = 'MJ', link = 'Jupiter mass' }, ['M_Solar'] = { unit = 'M&#x2609;', link = 'solar mass' }, ['M_solar'] = { unit = 'M&#x2609;', link = 'solar mass' }, mA = { unit = 'mA', link = 'milliampere' }, MA = { unit = 'MA', link = 'megaampere' }, Ma = { unit = 'Ma', link = 'megaannum' }, ['Mbit/s'] = { unit = 'Mbit/s', link = 'megabit per second', pre = , suff =  }, mcg = { unit = 'µg', link = 'microgram' }, ['mcg/dL'] = { unit = 'µg/dL', link = 'gram per', pre = , suff =  }, ['mcg/dl'] = { unit = 'µg/dl', link = 'gram per', pre = , suff =  }, ['MeV/c2'] = { unit = 'MeV/c2', link = 'electronvolt#Mass', pre = , suff =  }, MG = { unit = 'MG', link = 'megagauss' }, Mg = { unit = 'Mg', link = 'megagram' }, mG = { unit = 'mG', link = 'milligauss' }, ['mg/mL'] = { unit = 'mg/mL', link = 'gram per litre', pre = , suff =  }, ['mg/ml'] = { unit = 'mg/mL', link = 'gram per litre', pre = , suff =  }, MHz = { unit = 'MHz', link = 'megahertz' }, mHz = { unit = 'mHz', link = 'hertz' }, ['MJ*mol-1'] = { unit = 'MJ&sdot;mol&minus;1', link = 'joule per mole', pre = , suff =  }, ['MJ/mol'] = { unit = 'MJ/mol', link = 'joule per mole', pre = , suff =  }, MK = { unit = 'MK', link = 'megakelvin' }, mK = { unit = 'mK', link = 'millikelvin' }, Mpc = { unit = 'Mpc', link = 'parsec#Megaparsecs_and_gigaparsecs' }, ['Mpc2'] = { unit = 'Mpc2', link = 'parsec#Megaparsecs_and_gigaparsecs' }, ['Mpc3'] = { unit = 'Mpc3', link = 'parsec#Megaparsecs_and_gigaparsecs' }, MT = { unit = 'MT', link = 'megatesla' }, mT = { unit = 'mT', link = 'millitesla' }, muA = { unit = 'µA', link = 'ampere' }, muG = { unit = 'µG', link = 'microgauss' }, mug = { unit = 'µg', link = 'microgram' }, muGal = { unit = 'µGal', link = 'Gal (unit)' }, muHz = { unit = 'µHz', link = 'hertz' }, muJ = { unit = 'µJ', link = 'joule' }, muK = { unit = 'µK', link = 'microkelvin' }, mum = { unit = 'µm', link = 'micrometre' }, mus = { unit = 'µs', link = 'microsecond' }, muT = { unit = 'µT', link = 'microtesla' }, muV = { unit = 'µV', link = 'volt' }, MV = { unit = 'MV', link = 'volt' }, mV = { unit = 'mV', link = 'volt' }, mya = { unit = 'mya', link = 'million years ago' }, myr = { unit = 'myr', link = 'million years' }, nA = { unit = 'nA', link = 'ampere' }, ['N*A-2'] = { unit = 'N&sdot;A&minus;2', link = 'permeability (electromagnetism)', pre = , suff =  }, nG = { unit = 'nG', link = 'nanogauss' }, ng = { unit = 'ng', link = 'nanogram' }, nHz = { unit = 'nHz', link = 'hertz' }, nK = { unit = 'nK', link = 'nanokelvin' }, ['N*m-1'] = { unit = 'N&sdot;m&minus;1', link = 'joule (unit)', pre = , suff =  }, nT = { unit = 'nT', link = 'nanotesla' }, nV = { unit = 'nV', link = 'volt' }, PA = { unit = 'PA', link = 'ampere' }, pA = { unit = 'pA', link = 'ampere' }, ['pc2'] = { unit = 'pc2', link = 'Parsec' }, ['pc3'] = { unit = 'pc3', link = 'Parsec' }, PG = { unit = 'PG', link = 'petagauss' }, Pg = { unit = 'Pg', link = 'petagram' }, pG = { unit = 'pG', link = 'picogauss' }, pg = { unit = 'pg', link = 'picogram' }, PHz = { unit = 'PHz', link = 'petahertz' }, pHz = { unit = 'pHz', link = 'hertz' }, PK = { unit = 'PK', link = 'petakelvin' }, pK = { unit = 'pK', link = 'picokelvin' }, ppb = { unit = 'ppb', link = 'parts per billion' }, ppm = { unit = 'ppm', link = 'parts per million' }, PT = { unit = 'PT', link = 'petatesla' }, pT = { unit = 'pT', link = 'picotesla' }, PV = { unit = 'PV', link = 'volt' }, pV = { unit = 'pV', link = 'volt' }, R = { unit = 'R', link = 'rayleigh (unit)' }, ['R_Earth'] = { unit = 'R⊕', link = 'Earth radius' }, ['R_Jupiter'] = { unit = 'RJ', link = 'Jupiter radius' }, ['R_Solar'] = { unit = 'R&#x2609;', link = 'solar radius' }, ['R_solar'] = { unit = 'R&#x2609;', link = 'solar radius' }, s = { unit = 's', link = 'second' }, ['s-1'] = { unit = 's&minus;1', link = 'second' }, ['s-2'] = { unit = 's&minus;2', link = 'second' }, ['s2'] = { unit = 's2', link = 'second' }, ['Solar luminosity'] = { unit = 'L&#x2609;', link = 'solar luminosity' }, ['solar luminosity'] = { unit = 'L&#x2609;', link = 'solar luminosity' }, ['Solar mass'] = { unit = 'M&#x2609;', link = 'solar mass' }, ['solar mass'] = { unit = 'M&#x2609;', link = 'solar mass' }, ['Solar radius'] = { unit = 'R&#x2609;', link = 'solar radius' }, ['solar radius'] = { unit = 'R&#x2609;', link = 'solar radius' }, TA = { unit = 'TA', link = 'ampere' }, ['Tbit/s'] = { unit = 'Tbit/s', link = 'terabit per second', pre = , suff =  }, ['TeV/c2'] = { unit = 'TeV/c2', link = 'electronvolt#Mass', pre = , suff =  }, TG = { unit = 'TG', link = 'teragauss' }, Tg = { unit = 'Tg', link = 'teragram' }, THz = { unit = 'THz', link = 'terahertz' }, ['TJ*mol-1'] = { unit = 'TJ&sdot;mol&minus;1', link = 'joule per mole', pre = , suff =  }, ['TJ/mol'] = { unit = 'TJ/mol', link = 'joule per mole', pre = , suff =  }, TK = { unit = 'TK', link = 'terakelvin' }, Torr = { unit = 'Torr', link = 'Torr' }, torr = { unit = 'Torr', link = 'Torr' }, TT = { unit = 'TT', link = 'teratesla' }, TV = { unit = 'TV', link = 'volt' }, u = { unit = 'u', link = 'atomic mass unit' }, uBP = { unit = '14C yr BP', link = 'Radiocarbon dating#Calibration' }, V = { unit = 'V', link = 'volt' }, VV = { unit = 'VV', link = 'volt' }, ['V/m'] = { unit = 'V/m', link = 'electric field', pre = , suff =  }, ['Vm-1'] = { unit = 'V&sdot;m&minus;1', link = 'electric field', pre = , suff =  }, ['V*m-1'] = { unit = 'V&sdot;m&minus;1', link = 'electric field', pre = , suff =  }, Wb = { unit = 'Wb', link = 'Weber (unit)' }, y = { unit = 'y', link = 'year' }, yA = { unit = 'yA', link = 'ampere' }, YA = { unit = 'YA', link = 'ampere' }, year = { unit = 'year', link = 'year' }, years = { unit = 'years', link = 'year' }, YG = { unit = 'YG', link = 'yottagauss' }, Yg = { unit = 'Yg', link = 'yottagram' }, yG = { unit = 'yG', link = 'yoctogauss' }, yg = { unit = 'yg', link = 'yoctogram' }, YHz = { unit = 'YHz', link = 'yottahertz' }, yHz = { unit = 'yHz', link = 'hertz' }, YK = { unit = 'YK', link = 'yottakelvin' }, yK = { unit = 'yK', link = 'yoctokelvin' }, ym = { unit = 'ym', link = 'yoctometre' }, yr = { unit = 'yr', link = 'year#Symbols_y_and_yr' }, YT = { unit = 'YT', link = 'Yottatesla' }, yT = { unit = 'yT', link = 'yoctotesla' }, YV = { unit = 'YV', link = 'volt' }, yV = { unit = 'yV', link = 'volt' }, ZA = { unit = 'ZA', link = 'ampere' }, zA = { unit = 'zA', link = 'ampere' }, ZG = { unit = 'ZG', link = 'zettagauss' }, Zg = { unit = 'Zg', link = 'zettagram' }, zG = { unit = 'zG', link = 'zeptogauss' }, zg = { unit = 'zg', link = 'zeptogram' }, ZHz = { unit = 'ZHz', link = 'hertz' }, zHz = { unit = 'zHz', link = 'hertz' }, ZK = { unit = 'ZK', link = 'zettakelvin' }, zK = { unit = 'zK', link = 'zeptokelvin' }, zm = { unit = 'zm', link = 'zeptometre' }, ZT = { unit = 'ZT', link = 'zettatesla' }, zT = { unit = 'zT', link = 'zeptotesla' }, ZV = { unit = 'ZV', link = 'volt' }, zV = { unit = 'zV', link = 'volt' }, ['µA'] = { unit = 'µA', link = 'microampere' }, ['µB'] = { unit = 'µB', link = 'Bohr magneton' }, ['µG'] = { unit = 'µG', link = 'microgauss' }, ['µGal'] = { unit = 'µGal', link = 'Gal (unit)' }, ['μg/dl'] = { unit = 'μg/dL', link = 'gram per litre', pre = , suff =  }, ['μg/dL'] = { unit = 'μg/dL', link = 'gram per litre', pre = , suff =  }, ['µHz'] = { unit = 'µHz', link = 'hertz' }, ['µK'] = { unit = 'µK', link = 'microkelvin' }, ['µN'] = { unit = 'µN', link = 'nuclear magneton' }, ['μN'] = { unit = 'µN', link = 'nuclear magneton' }, ['µT'] = { unit = 'µT', link = 'microtesla' }, ['µV'] = { unit = 'µV', link = 'microvolt' } }