Module:Link:修订间差异

无编辑摘要
无编辑摘要
第3行: 第3行:
function p.titular(frame)
function p.titular(frame)
local result=""
local result=""
for i,k in ipairs(mw.getCurrentFrame():getParent()) do
args=mw.getCurrentFrame():getParent().args
for i,k in ipairs(args) do
result=result..'<span id="'..k..'"></span>'
result=result..'<span id="'..k..'"></span>'
end
end