Abuse filter editor, Bureaucrats, Check users, Interface administrators, Staff, Suppressors, Administrators, Translation Reviewer
2,193
edits
No edit summary |
(try callParserFunction instead) |
||
Line 51: | Line 51: | ||
end | end | ||
function p.makeTabber(sections) | function p.makeTabber(frame, sections) | ||
local | local finalSections = '' | ||
for k, v in ipairs(sections) do | for k, v in ipairs(sections) do | ||
finalSections = finalSections..'|-|'..v[1]..'=\n\n'..v[2] | |||
end | end | ||
return | return frame:callParserFunction('#tag:tabber', finalSections) | ||
end | end | ||
Line 72: | Line 71: | ||
local sections = p.makeSections(parent) | local sections = p.makeSections(parent) | ||
return p.makeTabber(sections) | return p.makeTabber(parent, sections) | ||
end | end | ||
return p | return p |