Difference between revisions of "Module:Documentation"

12 bytes removed ,  07:21, 26 January 2014
change makeEndBoxExperimentBlurb to makeExperimentBlurb - simpler
>Mr. Stradivarius
(add comments for the rest of the functions)
>Mr. Stradivarius
(change makeEndBoxExperimentBlurb to makeExperimentBlurb - simpler)
Line 669: Line 669:
if subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10 then
if subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10 then
-- We are in the user, module or template namespaces.  
-- We are in the user, module or template namespaces.  
text = text .. p.makeEndBoxExperimentBlurb(args, env)
text = text .. p.makeExperimentBlurb(args, env)
text = text .. '<br />'
text = text .. '<br />'
-- Show the categories text, but not if we have the content on the template page itself,
-- Show the categories text, but not if we have the content on the template page itself,
Line 739: Line 739:
end
end


function p.makeEndBoxExperimentBlurb(args, env)
function p.makeExperimentBlurb(args, env)
--[[
--[[
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
-- Renders the text "Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages."
Anonymous user