Changes

Jump to: navigation, search

Module:Documentation

122 bytes added, 03:45, 27 January 2014
tweak comments
local text = ''
if linkBox then
-- Use custom link box content if it is defined.
text = text .. linkBox
else
text = text .. (p.makeDocPageBlurb(args, env) or '') -- Add links to /sandbox and /testcases when appropriate"This documentation is transcluded from [[Foo]]." if subjectSpace == 2 or subjectSpace == 828 10 or subjectSpace == 10 828 then -- We are in the user, template or module or namespaces. -- Add sandbox and testcases links. -- "Editors can experiment in this template namespaces's sandbox and testcases pages. "
text = text .. p.makeExperimentBlurb(args, env)
text = text .. '<br />'
if not args.content and not args[1] then
-- Show the "Please add categories text, but not if we have to the content on the template page itself,/doc subpage." -- Don't show this message with inline docs or if the documentation with an explicitly specified doc page has been specified explicitly, since -- as then it is unclear -- where to add the categories.
text = text .. (p.makeCategoriesBlurb(args, env) or '')
end
text = text .. ' ' .. (p.makeSubpagesBlurb(args, env) or '')--"Subpages of this template" local printBlurb = p.makePrintBlurb(args, env)-- Two-line blurb about print versions of templates.
if printBlurb then
text = text .. '<br />' .. printBlurb
Anonymous user

Navigation menu