Changes

Jump to: navigation, search

Module:Documentation

301 bytes added, 23:05, 23 January 2014
convert makeCategoriesBlurb comment
function p.makeCategoriesBlurb(args, env)
-- Get [[ -- Generates the text "Please add categories to the /doc subpage." -- @args - a table of arguments passed by the user -- @env - environment table containing title objectobjects, etc., generated with p.getEnvironment -- Messages: -- 'doc-link-display' --> '/doc' -- 'add-categories-blurb' --> 'Please add categories to the $1 subpage.' --]]
local docTitle = env.docTitle
if not docTitle then
return nil
end
-- Make the blurb.
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display'))
return message('add-categories-blurb', {docPathLink})
Anonymous user

Navigation menu