ElEditors, Interface administrators, Administrators
70,784
edits
No edit summary |
(Fix an issue where tabs were displayed in a wrong order) |
||
(2 intermediate revisions by the same user not shown) | |||
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 | ||
local kr_date = 'KR (' .. args.date .. ')' | local kr_date = 'KR (' .. args.date .. ')' | ||
local tabber = frame: | local tabber = frame:preprocess("<tabber>\\\\NA=".. tostring(old_content) .."\\\\".. kr_date .."=".. tostring(new_content) .."</tabber>") | ||
return tabber | return tabber |