Module:Infobox: Difference between revisions

Undid revision 906073835 by Gonnym (talk) errors in code were reported
 
Test
 
(2 intermediate revisions by one other user not shown)
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