Module:Documentation: Difference between revisions

don't cause a script error if p.makeExperimentBlurb returns nil
m>Mr. Stradivarius
(Undid revision 615575005 by Technical 13 (talk) this puts the end box inside the main div, so we get one blue box inside another blue box; not really what we want)
m>Mr. Stradivarius
(don't cause a script error if p.makeExperimentBlurb returns nil)
Line 726: Line 726:
-- Add sandbox and testcases links.
-- Add sandbox and testcases links.
-- "Editors can experiment in this template's sandbox and testcases pages."
-- "Editors can experiment in this template's sandbox and testcases pages."
text = text .. p.makeExperimentBlurb(args, env)
text = text .. (p.makeExperimentBlurb(args, env) or '')
text = text .. '<br />'
text = text .. '<br />'
if not args.content and not args[1] then
if not args.content and not args[1] then
Anonymous user