Editing Module:Documentation
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 930: | Line 930: | ||
function p.makeSubpagesBlurb(args, env) | function p.makeSubpagesBlurb(args, env) | ||
-- | -- Get the template title object | ||
local subjectSpace = env.subjectSpace | local subjectSpace = env.subjectSpace | ||
local templateTitle = env.templateTitle | local templateTitle = env.templateTitle | ||
Line 946: | Line 936: | ||
return nil | return nil | ||
end | end | ||
-- Make the subpages blurb. | |||
local pagetype | local pagetype | ||
if subjectSpace == 10 then | if subjectSpace == 10 then | ||
Line 962: | Line 953: | ||
function p.makePrintBlurb(args, env) | function p.makePrintBlurb(args, env) | ||
-- | -- Get the /Print title object | ||
local printTitle = env.printTitle | local printTitle = env.printTitle | ||
if not printTitle then | if not printTitle then | ||
return nil | return nil | ||
end | end | ||
-- Make the print blurb. | |||
local ret | local ret | ||
if printTitle.exists then | if printTitle.exists then |