Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Documentation: Difference between revisions

Content added Content deleted
(add comments for the rest of the functions)
(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."
Cookies help us deliver our services. By using our services, you agree to our use of cookies.