Jump to content

Module:Infobox: Difference between revisions

204 bytes added ,  11 years ago
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' and #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
     if args.decat ~= 'yes' then
        root.wikitext('[[Category:Articles which use infobox templates with no data rows]]')
        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
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.