Changes

Module:Documentation

8 bytes removed, 20:15, 15 January 2014
use the err function for all the errors
local success, docTitle = env:grab('docTitle')
if not success then
return err(docTitle ) -- docTitle is an error message
end
-- Get the documentation content.
local success, docTitle = env:grab('docTitle')
if not success then
return err(docTitle ) -- Error message
end
local success, printTitle = env:grab('printTitle')
if not success then
return err(printTitle ) -- Error message
end
-- Make the print blurb.
local success, templateTitle = env:grab('templateTitle')
if not success then
return err(templateTitle ) -- Error message.
end
-- Make the subpages blurb.
local success, docTitle = env:grab('docTitle')
if not success then
return err(docTitle) -- docTitle is the error Error message. return docTitle
end
-- Make the blurb.
local success, docTitle = env:grab('docTitle')
if not success then
return err(docTitle) -- docTitle is the error Error message. return docTitle
end
-- Make the blurb.
Anonymous user