Content deleted Content added
No edit summary
No edit summary
 
Line 399:
 
local personalSection, rowIndex
local success, resultresult1, result2 = pcall(function()
return BioboxPersonal.formatPersonalSection(state, args, title)
end)
if success then
personalSection, rowIndex = resultresult1, select(2, result)result2
else
personalSection, rowIndex = string.format('{| %s\n|-\n! colspan="2" %s | \'\'\'%s\'\'\'', 1
STYLES.INFOBOX,
STYLES.HEADER,
title)
rowIndex = 1
end
local bodySection = ""
success, resultresult1 = pcall(function()
return BioboxBody.formatBodySection(state, args, rowIndex)
end)
if success then
bodySection = resultresult1
end
local personalPagesSection, ppRowIndex = {}, rowIndex
success, resultresult1, result2 = pcall(function()
return BioboxPersonalPages.formatPersonalPagesSection(state, args, rowIndex)
end)
if success then
personalPagesSection, ppRowIndex = resultresult1, select(2, result)result2
end
local databasesSection, dbRowIndex = {}, ppRowIndex
success, resultresult1, result2 = pcall(function()
return BioboxDatabases.formatDatabasesSection(state, args, ppRowIndex)
end)
if success then
databasesSection, dbRowIndex = resultresult1, select(2, result)result2
end
if isEmpty(personalSection) or not string.find(personalSection, '{|%s+class="infoboxnew"') then
personalSection = string.format('{| %s\n|-\n! colspan="2" %s | \'\'\'%s\'\'\'',
STYLES.INFOBOX,