Module:Infobox: Difference between revisions
Content added Content deleted
(remove title bolding as with main template) |
(add tracking category per main template) |
||
Line 195: | Line 195: | ||
local function renderTrackingCategories() |
local function renderTrackingCategories() |
||
if args.decat ~= 'yes' |
if args.decat ~= 'yes' then |
||
if #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then |
|||
root.wikitext('[[Category:Articles which use infobox templates with no data rows]]') |
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 |
||
end |
end |