模組:說文解字

維基詞典,自由的多語言詞典

嵌入汉字位在Module:說文解字/data中的資料。

在模板中使用:

{{#invoke:說文解字|main|字}}

顯示:

乳也。从子在宀下,子亦聲。

local export = {}

function export.main(char)
	character = type(char) == 'table' and char.args[1] or char
	for i=1, 14, 1 do
		result = mw.loadData('Module:說文解字/data/' .. i)[character]
		if result then
			return result
		end
	end
end

return export