[go: nahoru, domu]

မာတိကာသို့ ခုန်သွားရန်

မဝ်ဂျူ:grc-decl/shared

နူ ဝိက်ရှေန်နရဳ

Documentation for this module may be created at မဝ်ဂျူ:grc-decl/shared/doc

local export = {}

function export.quote(text)
	return "“" .. text .. "”"
end

local function check_track_arg(argI, arg)
	require('libraryUtil').checkType("track", argI, arg, "string")
end

function export.track(template, code)
	check_track_arg(1, template)
	if code then
		check_track_arg(2, code)
		require("Module:debug").track(template .. "/" .. code)
	else
		return function(code)
			check_track_arg(1, code)
			require("Module:debug").track(template .. "/" .. code)
		end
	end
end

return export