Module:Archive: Difference between revisions

Content deleted Content added
per discussion on talk page regarding archives using date-based names
Per talk, this will use the yellow Template:tmbox in talk namespace and grey Template:mbox elsewhere.
Line 95:
else
talkPage = talkPage .. self.currentTitle.rootText
end
local namespace
if self.currentTitle.isTalkPage == true then
namespace = "talk"
else
namespace = "main"
end
if args.period then
ret = self:message('blurb-period', talkPage, args.period, namespace)
else
ret = self:message('blurb-noperiod', talkPage, namespace)
end
 
end
return ret
Line 122 ⟶ 130:
end
 
local mbox = require('Module:Message box').main('tmboxmbox', {
image = image,
imageright = args.imageright,