Module:Convert/extra and Module:Convert/extra/sandbox: Difference between pages

From Thetacola Wiki
(Difference between pages)
Jump to navigationJump to search
Page 1
Page 2
m 1 revision imported
 
m 1 revision imported
 
Line 18: Line 18:


local extra_units = {
local extra_units = {
    ["sec"] = {  -- experiment per request at [[Template talk:Convert#Auto-select time unit?]]
_name1  = "second",
_symbol  = "s",
utype    = "time",
scale    = 1,
prefixes = 1,
default  = "v < 7200 ! min ! h",
link    = "Second",
    },
    ["inches"] = {
target  = "in",
    },
    ["bit"] = {
_name1  = "bit",
_symbol  = "bit",
utype    = "information",
scale    = 0.125,
prefixes = 1,
default  = "B",
link    = "Bit",
    },
    ["B"] = {
_name1  = "byte",
_symbol  = "B",
utype    = "information",
scale    = 8,
prefixes = 1,
default  = "bit",
link    = "Byte",
    },
}
}


return { extra_units = extra_units }
return { extra_units = extra_units }