×
Create a new article
Write your page title here:
We currently have 10 articles on Arcadian Odyssey Extended Universe. Type your article name above or click on one of the titles below and start writing!



Module:Convert/data: Difference between revisions

update from sandbox per Template talk:Convert
 
Astaryuu (talk | contribs)
Created page with "-- Conversion data used by Module:Convert which uses mw.loadData() for -- read-only access to this module so that it is loaded only once per page. -- -- These data tables follow: -- all_units all properties for a unit, including default output -- default_exceptions exceptions for default output ('kg' and 'g' have different defaults) -- link_exceptions exceptions for links ('kg' and 'g' have different links) -- -- These tables are generated by a s..."
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
-- Conversion data used by [[Module:Convert]] which uses mw.loadData() for
-- Conversion data used by [[Module:Convert]] which uses mw.loadData() for
-- read-only access to this module so that it is loaded only once per page.
-- read-only access to this module so that it is loaded only once per page.
-- See [[:en:Template:Convert/Transwiki guide]] if copying to another wiki.
--
--
-- These data tables follow:
-- These data tables follow:
Line 9: Line 8:
--
--
-- These tables are generated by a script which reads the wikitext of a page that
-- These tables are generated by a script which reads the wikitext of a page that
-- documents the required properties of each unit; see [[:en:Module:Convert/doc]].
-- documents the required properties of each unit


---------------------------------------------------------------------------
---------------------------------------------------------------------------
Line 718: Line 717:
     },
     },
     ["mg/l"] = {
     ["mg/l"] = {
per      = { "mg", "ll" },
per      = { "mg", "l" },
utype    = "density",
utype    = "density",
default  = "oz/cuin",
default  = "oz/cuin",
Line 728: Line 727:
     },
     },
     ["μg/l"] = {
     ["μg/l"] = {
per      = { "μg", "ll" },
per      = { "μg", "l" },
utype    = "density",
utype    = "density",
default  = "oz/cuin",
default  = "oz/cuin",
Line 759: Line 758:
scale    = 3600000,
scale    = 3600000,
default  = "MJ",
default  = "MJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["bboe"] = {
     ["bboe"] = {
Line 1,147: Line 1,146:
scale    = 3.6e12,
scale    = 3.6e12,
default  = "TJ",
default  = "TJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["GWh"] = {
     ["GWh"] = {
Line 1,155: Line 1,154:
scale    = 3.6e12,
scale    = 3.6e12,
default  = "TJ",
default  = "TJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["hph"] = {
     ["hph"] = {
Line 1,334: Line 1,333:
scale    = 3600000,
scale    = 3600000,
default  = "MJ",
default  = "MJ",
link    = "Watt-hour",
     },
     },
     ["kWh"] = {
     ["kWh"] = {
Line 1,341: Line 1,341:
scale    = 3600000,
scale    = 3600000,
default  = "MJ",
default  = "MJ",
link    = "Watt-hour",
     },
     },
     ["Mcal"] = {
     ["Mcal"] = {
Line 1,513: Line 1,514:
scale    = 3600000000,
scale    = 3600000000,
default  = "GJ",
default  = "GJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["mW.h"] = {
     ["mW.h"] = {
Line 1,521: Line 1,522:
scale    = 3.6,
scale    = 3.6,
default  = "J",
default  = "J",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["MWh"] = {
     ["MWh"] = {
Line 1,529: Line 1,530:
scale    = 3600000000,
scale    = 3600000000,
default  = "GJ",
default  = "GJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["mWh"] = {
     ["mWh"] = {
Line 1,537: Line 1,538:
scale    = 3.6,
scale    = 3.6,
default  = "J",
default  = "J",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["neV"] = {
     ["neV"] = {
Line 1,708: Line 1,709:
scale    = 3.6e15,
scale    = 3.6e15,
default  = "PJ",
default  = "PJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["TWh"] = {
     ["TWh"] = {
Line 1,716: Line 1,717:
scale    = 3.6e15,
scale    = 3.6e15,
default  = "PJ",
default  = "PJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["W.h"] = {
     ["W.h"] = {
Line 1,724: Line 1,725:
scale    = 3600,
scale    = 3600,
default  = "kJ",
default  = "kJ",
link    = "Kilowatt-hour",
     },
     },
     ["Wh"] = {
     ["Wh"] = {
Line 1,732: Line 1,732:
scale    = 3600,
scale    = 3600,
default  = "kJ",
default  = "kJ",
link    = "Kilowatt-hour",
     },
     },
     ["μerg"] = {
     ["μerg"] = {
Line 1,756: Line 1,755:
scale    = 0.0036,
scale    = 0.0036,
default  = "mJ",
default  = "mJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["μWh"] = {
     ["μWh"] = {
Line 1,764: Line 1,763:
scale    = 0.0036,
scale    = 0.0036,
default  = "mJ",
default  = "mJ",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["-kW.h"] = {
     ["-kW.h"] = {
Line 1,921: Line 1,920:
scale    = 36,
scale    = 36,
default  = "MJ/km kWh/mi",
default  = "MJ/km kWh/mi",
link    = "Kilowatt-hour",
link    = "Watt-hour",
     },
     },
     ["kWh/100 mi"] = {
     ["kWh/100 mi"] = {
Line 1,948: Line 1,947:
symbol  = "mpg‑e",
symbol  = "mpg‑e",
utype    = "energy per unit length",
utype    = "energy per unit length",
scale    = 1.3263314048360777e-5,
scale    = 13e-6,
invert  = -1,
invert  = -1,
iscomplex= true,
iscomplex= true,
Line 1,987: Line 1,986:
symbol  = "BTU/lb",
symbol  = "BTU/lb",
utype    = "energy per unit mass",
utype    = "energy per unit mass",
scale    = 2326,
scale    = 429.92261414790346,
default  = "kJ/kg",
default  = "kJ/kg",
link    = "British thermal unit",
link    = "British thermal unit",
Line 2,124: Line 2,123:
     },
     },
     ["kJ/l"] = {
     ["kJ/l"] = {
per      = { "kJ", "ll" },
per      = { "kJ", "l" },
utype    = "energy per unit volume",
utype    = "energy per unit volume",
default  = "BTU/cuft",
default  = "BTU/cuft",
Line 2,965: Line 2,964:
invert  = 1,
invert  = 1,
iscomplex= true,
iscomplex= true,
default  = "L/km USgal/mi",
default  = "l/km USgal/mi",
     },
     },
     ["km/L"] = {
     ["km/L"] = {
Line 2,975: Line 2,974:
     },
     },
     ["km/l"] = {
     ["km/l"] = {
per      = { "km", "ll" },
per      = { "km", "l" },
utype    = "fuel efficiency",
utype    = "fuel efficiency",
invert  = -1,
invert  = -1,
Line 2,987: Line 2,986:
iscomplex= true,
iscomplex= true,
default  = "mpgimp mpgus",
default  = "mpgimp mpgus",
symlink  = "[[Fuel economy in automobiles#Units of measure|L/100 km]]",
symlink  = "L/100 km",
     },
     },
     ["l/100 km"] = {
     ["l/100 km"] = {
per      = { "ll", "100km" },
per      = { "l", "100km" },
utype    = "fuel efficiency",
utype    = "fuel efficiency",
invert  = 1,
invert  = 1,
iscomplex= true,
iscomplex= true,
default  = "mpgimp mpgus",
default  = "mpgimp mpgus",
symlink  = "[[Fuel economy in automobiles#Units of measure|l/100 km]]",
symlink  = "l/100 km",
     },
     },
     ["L/km"] = {
     ["L/km"] = {
Line 3,005: Line 3,004:
     },
     },
     ["l/km"] = {
     ["l/km"] = {
per      = { "ll", "km" },
per      = { "l", "km" },
utype    = "fuel efficiency",
utype    = "fuel efficiency",
invert  = 1,
invert  = 1,
Line 3,046: Line 3,045:
iscomplex= true,
iscomplex= true,
default  = "L/100 km+mpgus",
default  = "L/100 km+mpgus",
symlink  = "[[Fuel economy in automobiles#Units of measure|mpg]]<sub>&#8209;[[Imperial units|imp]]</sub>",
symlink  = "mpg<sub>&#8209;imp</sub>",
     },
     },
     ["mpgus"] = {
     ["mpgus"] = {
Line 3,055: Line 3,054:
iscomplex= true,
iscomplex= true,
default  = "L/100 km+mpgimp",
default  = "L/100 km+mpgimp",
symlink  = "[[Fuel economy in automobiles#Units of measure|mpg]]<sub>&#8209;[[United States customary units|US]]</sub>",
symlink  = "mpg<sub>&#8209;US</sub>",
     },
     },
     ["U.S.gal/mi"] = {
     ["U.S.gal/mi"] = {
Line 3,063: Line 3,062:
invert  = 1,
invert  = 1,
iscomplex= true,
iscomplex= true,
default  = "L/km impgal/mi",
default  = "l/km impgal/mi",
     },
     },
     ["usgal/mi"] = {
     ["usgal/mi"] = {
Line 3,070: Line 3,069:
invert  = 1,
invert  = 1,
iscomplex= true,
iscomplex= true,
default  = "L/km impgal/mi",
default  = "l/km impgal/mi",
     },
     },
     ["L/100km"] = {
     ["L/100km"] = {
Line 3,085: Line 3,084:
symbol  = "mpg<sub>&#8209;U.S.</sub>",
symbol  = "mpg<sub>&#8209;U.S.</sub>",
sp_us    = true,
sp_us    = true,
symlink  = "[[Fuel economy in automobiles#Units of measure|mpg]]<sub>&#8209;[[United States customary units|U.S.]]</sub>",
symlink  = "mpg<sub>&#8209;U.S.</sub>",
     },
     },
     ["mpgu.s."] = {
     ["mpgu.s."] = {
Line 3,091: Line 3,090:
symbol  = "mpg<sub>&#8209;U.S.</sub>",
symbol  = "mpg<sub>&#8209;U.S.</sub>",
sp_us    = true,
sp_us    = true,
symlink  = "[[Fuel economy in automobiles#Units of measure|mpg]]<sub>&#8209;[[United States customary units|U.S.]]</sub>",
symlink  = "mpg<sub>&#8209;U.S.</sub>",
     },
     },
     ["mpgUS"] = {
     ["mpgUS"] = {
Line 3,231: Line 3,230:
     },
     },
     ["chlk"] = {
     ["chlk"] = {
name1    = "[[Chain (unit)|chain]]",
name1    = "chain",
symbol  = "[[Chain (unit)|ch]]",
symbol  = "ch",
utype    = "length",
utype    = "length",
scale    = 20.1168,
scale    = 20.1168,
Line 3,248: Line 3,247:
     },
     },
     ["chainlk"] = {
     ["chainlk"] = {
symbol  = "[[Chain (unit)|chain]]",
symbol  = "chain",
usename  = 1,
usename  = 1,
utype    = "length",
utype    = "length",
Line 3,697: Line 3,696:
     },
     },
     ["inch"] = {
     ["inch"] = {
target  = "in",
    },
    ["inches"] = {
target  = "in",
target  = "in",
     },
     },
Line 3,728: Line 3,724:
     ["mile"] = {
     ["mile"] = {
target  = "mi",
target  = "mi",
usename  = 1,
     },
     },
     ["miles"] = {
     ["miles"] = {
target  = "mi",
target  = "mi",
usename  = 1,
     },
     },
     ["parsec"] = {
     ["parsec"] = {
Line 3,920: Line 3,914:
scale    = 1016.0469088,
scale    = 1016.0469088,
default  = "DWtonne",
default  = "DWtonne",
link    = "Deadweight tonnage",
link    = "Tonnage",
     },
     },
     ["DWtonne"] = {
     ["DWtonne"] = {
name1_us = "deadweight metric ton",
symbol  = "deadweight tonne",
symbol  = "deadweight tonne",
sym_us  = "~deadweight metric ton",
usename  = 1,
usename  = 1,
utype    = "mass",
utype    = "mass",
scale    = 1000,
scale    = 1000,
default  = "DWton",
default  = "DWton",
link    = "Deadweight tonnage",
link    = "Tonnage",
     },
     },
     ["g"] = {
     ["g"] = {
Line 4,631: Line 4,623:
name2_us = "per liter",
name2_us = "per liter",
symbol  = "/l",
symbol  = "/l",
utype    = "per unit volume",
scale    = 1000,
default  = "/usgal",
link    = "Litre",
    },
    ["/L"] = {
name1    = "per litre",
name1_us = "per liter",
name2    = "per litre",
name2_us = "per liter",
symbol  = "/L",
utype    = "per unit volume",
utype    = "per unit volume",
scale    = 1000,
scale    = 1000,
Line 4,653: Line 4,634:
utype    = "per unit volume",
utype    = "per unit volume",
scale    = 264.172052,
scale    = 264.172052,
default  = "/L",
default  = "/l",
link    = "US gallon",
link    = "US gallon",
customary= 2,
customary= 2,
Line 5,729: Line 5,710:
scale    = 1,
scale    = 1,
prefixes = 1,
prefixes = 1,
default  = "v < 7200 ! min ! h",
default  = "min",
link    = "Second",
link    = "Second",
     },
     },
Line 5,829: Line 5,810:
     ["myr"] = {
     ["myr"] = {
target  = "million year",
target  = "million year",
    },
    ["sec"] = {
target  = "s",
     },
     },
     ["second"] = {
     ["second"] = {
Line 6,178: Line 6,156:
utype    = "volume",
utype    = "volume",
scale    = 0.04091481,
scale    = 0.04091481,
default  = "L impgal USgal",
default  = "l impgal USgal",
link    = "Firkin (unit)",
link    = "Firkin (unit)",
     },
     },
Line 6,215: Line 6,193:
utype    = "volume",
utype    = "volume",
scale    = 0.16365924,
scale    = 0.16365924,
default  = "L impgal USgal",
default  = "l impgal USgal",
link    = "Barrel (unit)",
link    = "Barrel (unit)",
     },
     },
Line 6,223: Line 6,201:
utype    = "volume",
utype    = "volume",
scale    = 0.03636872,
scale    = 0.03636872,
default  = "L impgal USdrygal",
default  = "l impgal USdrygal",
     },
     },
     ["impbu"] = {
     ["impbu"] = {
Line 6,237: Line 6,215:
utype    = "volume",
utype    = "volume",
scale    = 0.00454609,
scale    = 0.00454609,
default  = "L USgal",
default  = "l USgal",
     },
     },
     ["impgi"] = {
     ["impgi"] = {
Line 6,252: Line 6,230:
utype    = "volume",
utype    = "volume",
scale    = 0.01818436,
scale    = 0.01818436,
default  = "L USdrygal",
default  = "l USdrygal",
link    = "Kenning (unit)",
link    = "Kenning (unit)",
     },
     },
Line 6,267: Line 6,245:
utype    = "volume",
utype    = "volume",
scale    = 0.00909218,
scale    = 0.00909218,
default  = "L USdrygal",
default  = "l USdrygal",
link    = "Peck",
link    = "Peck",
     },
     },
Line 6,275: Line 6,253:
utype    = "volume",
utype    = "volume",
scale    = 0.00056826125,
scale    = 0.00056826125,
default  = "L",
default  = "l",
     },
     },
     ["impqt"] = {
     ["impqt"] = {
Line 6,290: Line 6,268:
utype    = "volume",
utype    = "volume",
scale    = 0.08182962,
scale    = 0.08182962,
default  = "L impgal USgal",
default  = "l impgal USgal",
     },
     },
     ["koilbbl"] = {
     ["koilbbl"] = {
Line 6,320: Line 6,298:
default  = "impgal USgal",
default  = "impgal USgal",
link    = "Litre",
link    = "Litre",
    },
    ["ll"] = {
name1    = "litre",
name1_us = "liter",
symbol  = "l",
utype    = "volume",
scale    = 0.001,
default  = "impgal USgal",
     },
     },
     ["m3"] = {
     ["m3"] = {
Line 6,417: Line 6,387:
utype    = "volume",
utype    = "volume",
scale    = 0.119240471196,
scale    = 0.119240471196,
default  = "L USgal impgal",
default  = "l USgal impgal",
link    = "Barrel (unit)",
link    = "Barrel (unit)",
     },
     },
Line 6,427: Line 6,397:
utype    = "volume",
utype    = "volume",
scale    = 0.117347765304,
scale    = 0.117347765304,
default  = "L USgal impgal",
default  = "l USgal impgal",
link    = "Barrel (unit)",
link    = "Barrel (unit)",
     },
     },
Line 6,437: Line 6,407:
utype    = "volume",
utype    = "volume",
scale    = 0.03523907016688,
scale    = 0.03523907016688,
default  = "L USdrygal impgal",
default  = "l USdrygal impgal",
link    = "Bushel",
link    = "Bushel",
     },
     },
Line 6,447: Line 6,417:
utype    = "volume",
utype    = "volume",
scale    = 0.03523907016688,
scale    = 0.03523907016688,
default  = "L USdrygal impgal",
default  = "l USdrygal impgal",
link    = "Bushel",
link    = "Bushel",
     },
     },
Line 6,467: Line 6,437:
utype    = "volume",
utype    = "volume",
scale    = 0.00440488377086,
scale    = 0.00440488377086,
default  = "L",
default  = "l",
link    = "Gallon",
link    = "Gallon",
     },
     },
Line 6,497: Line 6,467:
utype    = "volume",
utype    = "volume",
scale    = 0.003785411784,
scale    = 0.003785411784,
default  = "L impgal",
default  = "l impgal",
link    = "Gallon",
link    = "Gallon",
     },
     },
Line 6,507: Line 6,477:
utype    = "volume",
utype    = "volume",
scale    = 0.003785411784,
scale    = 0.003785411784,
default  = "L impgal",
default  = "l impgal",
     },
     },
     ["USgi"] = {
     ["USgi"] = {
Line 6,524: Line 6,494:
utype    = "volume",
utype    = "volume",
scale    = 0.01761953508344,
scale    = 0.01761953508344,
default  = "L impgal",
default  = "l impgal",
link    = "Kenning (unit)",
link    = "Kenning (unit)",
     },
     },
Line 6,553: Line 6,523:
utype    = "volume",
utype    = "volume",
scale    = 0.00880976754172,
scale    = 0.00880976754172,
default  = "L impgal",
default  = "l impgal",
link    = "Peck",
link    = "Peck",
     },
     },
Line 6,563: Line 6,533:
utype    = "volume",
utype    = "volume",
scale    = 0.000473176473,
scale    = 0.000473176473,
default  = "L imppt",
default  = "l imppt",
link    = "Pint",
link    = "Pint",
     },
     },
Line 6,601: Line 6,571:
utype    = "volume",
utype    = "volume",
scale    = 0.009,
scale    = 0.009,
default  = "L",
default  = "l",
link    = "Case (goods)",
link    = "Case (goods)",
     },
     },
Line 6,612: Line 6,582:
target  = "USgal",
target  = "USgal",
sp_us    = true,
sp_us    = true,
default  = "L impgal",
customary= 2,
customary= 2,
     },
     },
Line 6,687: Line 6,658:
target  = "cuin",
target  = "cuin",
symbol  = "in<sup>3</sup>",
symbol  = "in<sup>3</sup>",
    },
    ["hm³"] = {
target  = "hm3",
     },
     },
     ["kcuft"] = {
     ["kcuft"] = {
Line 6,747: Line 6,715:
target  = "USbbl",
target  = "USbbl",
sp_us    = true,
sp_us    = true,
default  = "L U.S.gal impgal",
default  = "l U.S.gal impgal",
     },
     },
     ["U.S.beerbbl"] = {
     ["U.S.beerbbl"] = {
target  = "USbeerbbl",
target  = "USbeerbbl",
sp_us    = true,
sp_us    = true,
default  = "L U.S.gal impgal",
default  = "l U.S.gal impgal",
     },
     },
     ["U.S.bsh"] = {
     ["U.S.bsh"] = {
target  = "USbsh",
target  = "USbsh",
sp_us    = true,
sp_us    = true,
default  = "L U.S.drygal impgal",
default  = "l U.S.drygal impgal",
     },
     },
     ["U.S.bu"] = {
     ["U.S.bu"] = {
target  = "USbu",
target  = "USbu",
sp_us    = true,
sp_us    = true,
default  = "L U.S.drygal impgal",
default  = "l U.S.drygal impgal",
     },
     },
     ["U.S.drybbl"] = {
     ["U.S.drybbl"] = {
Line 6,791: Line 6,759:
target  = "USgal",
target  = "USgal",
sp_us    = true,
sp_us    = true,
default  = "L impgal",
link    = "U.S. gallon",
link    = "U.S. gallon",
     },
     },
Line 6,796: Line 6,765:
target  = "USgal",
target  = "USgal",
sp_us    = true,
sp_us    = true,
default  = "L impgal",
link    = "U.S. gallon",
link    = "U.S. gallon",
     },
     },