模組:沙盒/August.C/a
外观
local p = {}
function p.main(frame)
local args = frame.args
local links = {}
for i = 1, 10 do
local title = args[i]
if not title then break end
table.insert(links, string.format('[[%s]]', title))
end
if #links == 0 then
return '<span style="color:red;">(未指定主條目)</span>'
end
return '主條目:' .. table.concat(links, '、')
end
return p