모듈:Navbox: 두 판 사이의 차이

둘러보기로 이동 검색으로 이동
55 바이트 추가됨 ,  2015년 1월 24일 (토)
편집 요약 없음
(test)
편집 요약 없음
86번째 줄: 86번째 줄:
             :tag('th')
             :tag('th')
                 :attr('scope', 'row')
                 :attr('scope', 'row')
                 :addClass('navbox-group')
                 :addClass('둘러보기 상자-묶음')
                 :addClass(args.titlegroupclass)
                 :addClass(args.titlegroupclass)
                 :cssText(args.basestyle)
                 :cssText(args.basestyle)
180번째 줄: 180번째 줄:
     end
     end


     if args['group' .. listnum] then
     if args['묶음' .. listnum] then
         local groupCell = row:tag('th')
         local groupCell = row:tag('th')


         groupCell
         groupCell
             :attr('scope', 'row')
             :attr('scope', 'row')
             :addClass('navbox-group')
             :addClass('둘러보기 상자-묶음')
             :addClass(args.groupclass)
             :addClass(args.groupclass)
             :cssText(args.basestyle)
             :cssText(args.basestyle)
195번째 줄: 195번째 줄:
         groupCell
         groupCell
             :cssText(args.groupstyle)
             :cssText(args.groupstyle)
             :cssText(args['group' .. listnum .. 'style'])
             :cssText(args['묶음' .. listnum .. '모양'])
             :wikitext(args['group' .. listnum])
             :wikitext(args['묶음' .. listnum])
     end
     end


     local listCell = row:tag('td')
     local listCell = row:tag('td')


     if args['group' .. listnum] then
     if args['묶음' .. listnum] then
         listCell
         listCell
             :css('text-align', 'left')
             :css('text-align', 'left')
229번째 줄: 229번째 줄:
         :cssText(args.liststyle)
         :cssText(args.liststyle)
         :cssText(rowstyle)
         :cssText(rowstyle)
         :cssText(args['list' .. listnum .. 'style'])
         :cssText(args['내용' .. listnum .. '모양'])
         :addClass('navbox-list')
         :addClass('둘러보기 상자-내용')
         :addClass('navbox-' .. evenOdd)
         :addClass('navbox-' .. evenOdd)
         :addClass(args.listclass)
         :addClass(args.listclass)
         :tag('div')
         :tag('div')
             :css('padding', (listnum == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
             :css('padding', (listnum == 1 and args.list1padding) or args.listpadding or '0em 0.25em')
             :wikitext(addNewline(args['list' .. listnum]))
             :wikitext(addNewline(args['내용' .. listnum]))


     if listnum == 1 and args.image then
     if listnum == 1 and args.image then
333번째 줄: 333번째 줄:


     for k, v in pairs(args) do
     for k, v in pairs(args) do
         local listnum = ('' .. k):match('^list(%d+)$')
         local listnum = ('' .. k):match('^내용(%d+)$')
         if listnum then table.insert(listnums, tonumber(listnum)) end
         if listnum then table.insert(listnums, tonumber(listnum)) end
     end
     end
익명 사용자

둘러보기 메뉴