Module:DamagePatch: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 61: Line 61:
         :tag('div'):wikitext(new_table)
         :tag('div'):wikitext(new_table)


     if args.new then
     if args.new or args.old then
         new_content:tag('div'):wikitext(frame:preprocess(string.char(10) .. args.new))
         new_content:tag('div'):wikitext(frame:preprocess(string.char(10) .. (args.new or args.old)))
     end
     end