Module:Category described in year/sandbox: Difference between revisions

Content deleted Content added
+more formal conf error checks (bConfError)
m Cleanup old attempt
Line 225:
--produce description & toc
if bConfError == false then
if conf[currGroup] and conf[currGroup][currYDC] and conf[currGroup][currYDC].description then
description = conf[currGroup][currYDC].description
if mw.ustring.match(description, '%%year%%') then
Line 243 ⟶ 242:
toc = frame:expandTemplate{ title = 'Category TOC', args = args }
end
else
trackingCategories[2] = '[[Category:Described in year error|T]]' --null description text
end
end