Module:Convert/text: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(update from sandbox per Template talk:Convert#Module version 10)
(update from sandbox per Template talk:Convert#Module version 11)
Line 34: Line 34:
{ "US", link = "United States customary units" },
{ "US", link = "United States customary units" },
{ "U.S.", link = "United States customary units" },
{ "U.S.", link = "United States customary units" },
{ "imperial", link = "Imperial unit" },
{ "imperial", link = "Imperial units" },
{ "imp", link = "Imperial unit" },
{ "imp", link = "Imperial units" },
}
}


Line 233: Line 233:
["5"] = "opt_comma5", -- only use numsep grouping if 5 or more digits
["5"] = "opt_comma5", -- only use numsep grouping if 5 or more digits
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits
["gaps"] = "opt_gaps", -- use gaps, not numsep, to separate groups of digits
["gaps5"] = "opt_gaps, opt_comma5", -- opt_gaps + opt_comma5
["gaps3"] = "opt_gaps, opt_gaps3", -- group only in threes rather than default of no gap before a single digit after decimal mark
["gaps5"] = "opt_gaps?", -- deprecated 2015-05-29, was: opt_gaps + opt_comma5
["off"] = "opt_nocomma", -- no numsep in input or output numbers
["off"] = "opt_nocomma", -- no numsep in input or output numbers
},
},