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