Module:Infobox: Difference between revisions
add tracking category per main template
m>Mr. Stradivarius (remove title bolding as with main template) |
m>Mr. Stradivarius (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]]') | |||
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 |