Changes

Jump to: navigation, search

Module:Documentation

378 bytes added, 01:29, 15 January 2014
add a categories blurb function
-- Return the fmbox output.
return messageBox.main('fmbox', fmargs)
end
 
function p.makeCategoriesBlurb(args, env)
-- Get the title object.
local success, docTitle = env:grab('docTitle')
if not success then
-- docTitle is the error message.
return docTitle
end
-- Make the blurb.
local docPathLink = makeWikilink(docTitle.prefixedText, message('docLinkDisplay', 'string'))
return message('addCategoriesBlurb', 'string', {docPathLink})
end
Anonymous user

Navigation menu