Module:DamagePatch: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 54: Line 54:
         :tag('div'):wikitext(old_table)
         :tag('div'):wikitext(old_table)


     old_content:tag('div'):wikitext('<span>' .. args.old .. '</span>')
     if args.old then
        old_content:tag('div'):wikitext('<span>' .. args.old .. '</span>')
    end


     local new_content = mw.html.create('div')
     local new_content = mw.html.create('div')
         :tag('div'):wikitext(new_table)
         :tag('div'):wikitext(new_table)
      
 
    new_content:tag('div'):wikitext('<span>' .. args.new .. '</span>')
     if args.new then
        new_content:tag('div'):wikitext('<span>' .. args.new .. '</span>')
    end


     local kr_date = 'KR (' .. args.date .. ')'
     local kr_date = 'KR (' .. args.date .. ')'