Module:Documentation: Difference between revisions

re-add categorization of templates when they are missing a documentation, which was accidentally removed before
mNo edit summary
Line 30: Line 30:
else
else
local templateArgs = {}
local templateArgs = {}
for _, key in ipairs{ 'type', 'page', 'content' } do
for _, key in ipairs{ 'type', 'page', 'content', 'nodoc', 'baddoc' } do
local val = args[key]
local val = args[key]
if val then
if val then