Anonymous

Module:DamagePatch: Difference between revisions

From Elwiki
Fix an issue where tabs were displayed in a wrong order
No edit summary
(Fix an issue where tabs were displayed in a wrong order)
 
Line 66: Line 66:


     local kr_date = 'KR (' .. args.date .. ')'
     local kr_date = 'KR (' .. args.date .. ')'
    -- local tabber = frame:expandTemplate{
    --    title = 'Tabber',
    --    args = {
    --        NA = tostring(old_content),
    --        [kr_date] = tostring(new_content)
    --    }
    -- }


     local tabber = frame:preprocess("<tabber>\\\\NA=".. tostring(old_content) .."\\\\".. kr_date .."=".. tostring(new_content) .."</tabber>")
     local tabber = frame:preprocess("<tabber>\\\\NA=".. tostring(old_content) .."\\\\".. kr_date .."=".. tostring(new_content) .."</tabber>")