813
个编辑
更改
模块:Dict
,创建页面,内容为“local p = {} local getArgs = require('Module:Arguments').getArgs local dictionary = mw.loadData('Module:Dict/Data') function p.DictIndex(frame) local DictDate...”
local p = {}
local getArgs = require('Module:Arguments').getArgs
local dictionary = mw.loadData('Module:Dict/Data')
function p.DictIndex(frame)
local DictDate = {}
local SerilNum = {"A","C","D","F","G","H","J"}
for a,SN in pairs(SerilNum) do
for b,list in pairs(dictionary[SN]) do
res = res .. '\n' .. b .. ' ' .. list .. ' '
end
res = res ..'\n </br>'
end
return tostring(res)
end
return p
local getArgs = require('Module:Arguments').getArgs
local dictionary = mw.loadData('Module:Dict/Data')
function p.DictIndex(frame)
local DictDate = {}
local SerilNum = {"A","C","D","F","G","H","J"}
for a,SN in pairs(SerilNum) do
for b,list in pairs(dictionary[SN]) do
res = res .. '\n' .. b .. ' ' .. list .. ' '
end
res = res ..'\n </br>'
end
return tostring(res)
end
return p