模块:Dict
来自希灵百科
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"} --local SerilNum = {"A","C"} local res = "" local N = 0 local Table_Begin = '{| border="1" width="100%" style="border-collapse:collapse" <br>' local Table_End = "|}" res = res .. Table_Begin for a,SN in pairs(SerilNum) do res = res .."|-" res = res .. '| style="text-align:center;"| ' .. SN .."系列词条 ||" res = res .."| <br>" end res = res .. Table_End return tostring(res) end return p