返回汉字的五笔编码。
在模块中使用:
require('Module:五笔').main('字')
在模板中使用:
{{#invoke:五笔|main|字}}
返回:
pbf
local export = {} function export.main(char) character = type(char) == 'table' and char.args[1] or char for i=1, 1, 1 do result = mw.loadData('Module:五笔/data/' .. i)[character] if result then return result end end end return export