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(..." |
Tankmanfan44 (talk | contribs) 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(' | 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(' | root:wikitext('') | ||
end | end | ||
end | end |