Module:Infobox: Difference between revisions

Created page with "-- -- This module implements {{Infobox}} -- local p = {} local navbar = require('Module:Navbar')._navbar local args = {} local origArgs local root local function notempty(..."
Test
 
(One intermediate revision 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