Documentation for this module may be created at Module:পৰিবৰ্তন/data/doc

--[[ Conversion data used by Module:Convert.
Use mw.loadData() to obtain read-only access to this module so that
it is loaded only once per page.

These data tables follow:
    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 script which reads the wikitext of a page
that documents the required properties of each unit.
The wiki page is currently:
http://en.wikipedia.org/wiki/User:Johnuniq/Conversion_data
]]

---------------------------------------------------------------------------
-- Do not change the data in this table because it is created by running --
-- a script that reads the wikitext from a wiki page (see note above).   --
---------------------------------------------------------------------------
local units = {
	    ["a"] = {
	_name1	 = "আৰ",
	_symbol	 = "আৰ",
	utype	 = "কালি",
	scale	 = 100,
	prefixes = 1,
	default	 = "বৰ্গফুট",
	link	 = "Hectare#Are",
    },
    ["acre"] = {
	symbol	 = "একৰ",
	usename	 = 1,
	utype	 = "কালি",
	scale	 = 4046.8564224,
	default	 = "হে",
    },
    ["foot2"] = {
	name1	 = "বৰ্গফুট",
	name2	 = "বৰ্গফুট",
	symbol	 = "ফুট<sup>২</sup>",
	utype	 = "কালি",
	scale	 = 0.09290304,
	default	 = "মি২",
    },
    ["ha"] = {
	name1	 = "হেক্টৰ",
	symbol	 = "হে",
	utype	 = "কালি",
	scale	 = 10000,
	default	 = "একৰ",
    },
    ["hectare"] = {
	name1	 = "হেক্টৰ",
	symbol	 = "হে",
	usename	 = 1,
	utype	 = "কালি",
	scale	 = 10000,
	default	 = "একৰ",
    },
    ["m2"] = {
	_name1	 = "বৰ্গ মিটাৰ",
	_name1_us = "বৰ্গ মিটাৰ",
	_symbol	 = "মি<sup>২</sup>",
	prefix_position = 8,
	utype	 = "কালি",
	scale	 = 1,
	prefixes = 2,
	default	 = "বৰ্গফুট",
	link	 = "Square metre",
    },
    ["km2"] = {
	_name1	 = "বৰ্গ কিলোমিটাৰ",
	_name1_us = "বৰ্গ কিলোমিটাৰ",
	_symbol	 = "কিমি<sup>২</sup>",
	prefix_position = 8,
	utype	 = "কালি",
	scale	 = 1000000,
	prefixes = 2,
	default	 = "বৰ্গফুট",
	link	 = "Square metre",
    },
    ["sqfoot"] = {
	name1	 = "বৰ্গফুট",
	name2	 = "বৰ্গফুট",
	symbol	 = "ফুট<sup>২</sup>",
	utype	 = "কালি",
	scale	 = 0.09290304,
	default	 = "মি২",
    },
    ["sqft"] = {
	name1	 = "বৰ্গফুট",
	name2	 = "বৰ্গফুট",
	symbol	 = "ফুট<sup>২</sup>",
	utype	 = "কালি",
	scale	 = 0.09290304,
	default	 = "মি২",
    },
    ["L"] = {
	_name1	 = "লিটাৰ",
	_name1_us = "লিটাৰ",
	_symbol	 = "লি",
	utype	 = "আয়তন",
	scale	 = 0.001,
	prefixes = 1,
	default	 = "impgal USgal",
	link	 = "Litre",
    },
    ["m3"] = {
	_name1	 = "ঘন মিটাৰ",
	_name1_us = "ঘন মিটাৰ",
	_symbol	 = "মি<sup>৩</sup>",
	prefix_position = 4,
	utype	 = "আয়তন",
	scale	 = 1,
	prefixes = 3,
	default	 = "cuft",
	link	 = "Cubic metre",
    },
    ["sqin"] = {
	name1	 = "বৰ্গ ইঞ্চি",
	name2	 = "বৰ্গ ইঞ্চি",
	symbol	 = "ইঞ্চি<sup>২</sup>",
	utype	 = "কালি",
	scale	 = 0.00064516,
	default	 = "ছেমি২",
    },
    ["sqmi"] = {
	name1	 = "বৰ্গ মাইল",
	symbol	 = "মাইল<sup>২</sup>",
	utype	 = "কালি",
	scale	 = 2589988.110336,
	default	 = "কিমি২",
    },
}
---------------------------------------------------------------------------
-- Do not change the data in this table because it is created by running --
-- a script that reads the wikitext from a wiki page (see note above).   --
---------------------------------------------------------------------------
local link_exceptions = {
    -- Prefixed units with a linked article different from that of the base unit.
    -- Each key item is a prefixed symbol (not unitcode).
    ["mm<sup>2</sup>"] = "বৰ্গ মিলিমিটাৰ",
    ["cm<sup>2</sup>"] = "বৰ্গ ছ্ণ্টিমিটাৰ",
    ["dm<sup>2</sup>"] = "বৰ্গ ডেচিমিটাৰ",
    ["km<sup>2</sup>"] = "বৰ্গ কিলোমিটাৰ",
    ["kJ"] = "কিলোজুল",
    ["MJ"] = "মেগাজুল",
    ["fm"] = "ফেমট'মিটাৰ",
    ["pm"] = "পিক'মিটাৰ",
    ["nm"] = "নেন'মিটাৰ",
    ["µm"] = "মাইক্ৰ'মিটাৰ",
    ["mm"] = "মিলিমিটাৰ",
    ["cm"] = "ছেণ্টিমিটাৰ",
    ["dm"] = "ডেচিমিটাৰ",
    ["dam"] = "ডেকামিটাৰ",
    ["hm"] = "হেক্ট'মিটাৰ",
    ["km"] = "কিলোমিটাৰ",
    ["Mm"] = "মেগামিটাৰ",
    ["Gm"] = "গিগামিটাৰ",
    ["Tm"] = "টেৰামিটাৰ",
    ["Pm"] = "পেটামিটাৰ",
    ["Em"] = "এক্সামিটাৰ",
    ["Zm"] = "জেট্টামিটাৰ",
    ["Ym"] = "য়ট্টামিটাৰ",
    ["µg"] = "মাইক্ৰ'গ্ৰাম",
    ["mg"] = "মিলিগ্ৰাম",
    ["kg"] = "কিলোগ্ৰাম",
    ["Mg"] = "টন",
    ["yW"] = "য়ক্ট'টৱাট",
    ["zW"] = "জেপ্ট'ৱাট",
    ["aW"] = "এট্ট'ৱাট",
    ["fW"] = "ফেম্ট'ৱাট",
    ["pW"] = "পিক'ৱাট",
    ["nW"] = "নেন'ৱাট",
    ["µW"] = "মাইক্ৰ'ৱাট",
    ["mW"] = "মিলিৱাট",
    ["kW"] = "কিলোৱাট",
    ["MW"] = "মেগাৱাট",
    ["GW"] = "গিগাৱাট",
    ["TW"] = "টেৰাৱাট",
    ["PW"] = "পেটাৱাট",
    ["EW"] = "এক্সাৱাট",
    ["ZW"] = "জেট্টাৱাট",
    ["YW"] = "য়ট্টাৱাট",
    ["as"] = "এট্ট'ছেকেণ্ড",
    ["fs"] = "ফেম্ট'ছেকেণ্ড",
    ["ps"] = "পিক'ছেকেণ্ড",
    ["ns"] = "নেন'ছেকেণ্ড",
    ["µs"] = "মাইক্ৰ'ছেকেণ্ড",
    ["ms"] = "মিলিছেকেণ্ড",
    ["ks"] = "কিলোছেকেণ্ড",
    ["Ms"] = "মেগাছেকেণ্ড",
    ["Gs"] = "গিগাছেকেণ্ড",
    ["Ts"] = "টেৰাছেকেণ্ড",
    ["Ps"] = "পেটাছেকেণ্ড",
    ["Es"] = "এক্সাছেকেণ্ড",
    ["Zs"] = "জেট্টাছেকেণ্ড",
    ["Ys"] = "য়ট্টাছেকেণ্ড",
    ["cm<sup>3</sup>"] = "ঘন ছেণ্টিমিটাৰ",
    ["dm<sup>3</sup>"] = "ঘম ডেচিমিটাৰ",
    ["dam<sup>3</sup>"] = "ঘন ডেকামিটাৰ",
    ["km<sup>3</sup>"] = "ঘন কিলোমিটাৰ",
    ["µL"] = "মাইক্ৰ'লিটাৰ",
    ["µl"] = "মাইক্ৰ'লিটাৰ",
    ["mL"] = "মিলিলিটাৰ",
    ["ml"] = "মিলিলিটাৰ",
    ["cL"] = "ছেণ্টিলিটাৰ",
    ["cl"] = "ছেণ্টিলিটাৰ",
    ["dL"] = "ডেচিলিটাৰ",
    ["dl"] = "ডেচিলিটাৰ",
    ["daL"] = "ডেকালিটাৰ",
    ["dal"] = "ডেকালিটাৰ",
    ["hL"] = "হেক্ট'লিটাৰ",
    ["hl"] = "হেক্ট'লিটাৰ",
    ["kL"] = "কিলোলিটাৰ",
    ["kl"] = "কিলোলিটাৰ",
    ["ML"] = "মেগালিটাৰ",
    ["Ml"] = "মেগালিটাৰ",
    ["GL"] = "গিগালিটাৰ",
    ["Gl"] = "গিগালিটাৰ",
    ["TL"] = "টেৰালিটাৰ",
    ["Tl"] = "টেৰালিটাৰ",
    ["PL"] = "পেটালিটাৰ",
    ["Pl"] = "পেটালিটাৰ",
}

return {
    units = units,
    default_exceptions = default_exceptions,
    link_exceptions = link_exceptions,
}