Module:Infobox: Difference between revisions

add tracking category per main template
(remove title bolding as with main template)
(add tracking category per main template)
Line 195:
 
local function renderTrackingCategories()
if args.decat ~= 'yes' and #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
if #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
root.wikitext('[[Category:Articles which use infobox templates with no data rows]]')
end
if args.child == 'yes' and args.title then
root.wikitext('[[Category:Articles which use embedded infobox templates with the title parameter]]')
end
end
end
Anonymous user