Module:Documentation: Difference between revisions

need to check type as well
(control for blank values of linksData)
(need to check type as well)
Line 358:
-- No need to include the links if the documentation is on the template page itself.
local linksData = p.makeStartBoxLinksData(args, env)
if type(linksData) == 'table' then
links = p.renderStartBoxLinks(linksData)
else
-- linksData is nil or an error message.
return linksData
end
end