Module:Tabs:修订间差异

跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
第24行: 第24行:
         local title = args['bt'..idx] or ''
         local title = args['bt'..idx] or ''
         local content = args['tab'..idx] or ''
         local content = args['tab'..idx] or ''
       
        -- 添加@selected标记(修正空格问题)
        if pos == default_pos then
            title = title .. ' @selected'
        end
          
          
         table.insert(tabberContent, string.format('|-| %s=%s', title, content))
         table.insert(tabberContent, string.format('|-| %s=%s', title, content))