Module:Data/static/language

From Yugipedia
< Module:Data
Revision as of 12:14, 9 January 2020 by Becasita (talk | contribs) (Remove call to sandbox code.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Module documentation[create]
-- <pre>
local thisData = mw.loadData( 'Module:Data/static/language/data' )

local DATA = require( 'Module:Data' )

return function( v )
	return thisData.main[
		thisData.normalize[
			( DATA.getRegion( v ) or {} ).index
		]
	]
end
-- </pre>