Module:Data/Scripts: Difference between revisions

From Annwan’s Wiki
Jump to navigation Jump to search
Created page with "return { nahan = { dictfloat = ""}, naqoo = { dictfloat = "1"}, _getDictfloat = function ( frame ) local data = require("Data/Scripts") return data[frame.args[1]].dictfloat or "" end }"
 
mNo edit summary
Line 3: Line 3:
naqoo = { dictfloat = "1"},
naqoo = { dictfloat = "1"},
_getDictfloat = function ( frame )
_getDictfloat = function ( frame )
local data = require("Data/Scripts")
local data = require("Module:Data/Scripts")
return data[frame.args[1]].dictfloat or ""
return data[frame.args[1]].dictfloat or ""
end
end
}
}

Revision as of 12:59, 14 April 2025

Properties for the various scripts


return {
	nahan = { dictfloat = ""},
	naqoo = { dictfloat = "1"},
	_getDictfloat = function ( frame )
		local data = require("Module:Data/Scripts")
		return data[frame.args[1]].dictfloat or ""
	end
}