Module:Infobox: Difference between revisions

m 1 revision imported
Test
 
Line 271: Line 271:
     if args.child == 'yes' then
     if args.child == 'yes' then
         if args.title then
         if args.title then
             root:wikitext('[[Category:Pages which use embedded infobox templates with the title parameter]]')
             root:wikitext('')
         end
         end
         elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
         elseif #(getArgNums('data')) == 0 and mw.title.getCurrentTitle().namespace == 0 then
             root:wikitext('[[Category:Articles which use infobox templates with no data rows]]')
             root:wikitext('')
         end
         end
     end
     end