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

둘러보기로 이동 검색으로 이동
30 바이트 제거됨 ,  2015년 1월 24일 (토)
편집 요약 없음
편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
--
--
-- This module will implement {{Navbox}}
-- This module will implement {{Navbox}} / 이 모듈은 {{둘러보기 상자}}의 구현에 사용됩니다
-- 이 모듈은 {{둘러보기 상자}}의 구현에 사용됩니다
--
--
   
   
local p = {}
local p = {}
 
local HtmlBuilder = require('Module:HtmlBuilder')
local navbar = require('Module:Navbar')._navbar
local navbar = require('Module:Navbar')._navbar
local getArgs -- lazily initialized
local getArgs -- lazily initialized
51번째 줄: 49번째 줄:
         -- also no show/hide link, then we need a spacer on the right to achieve the left shift.
         -- also no show/hide link, then we need a spacer on the right to achieve the left shift.
         if args.state == 'plain' then spacerSide = 'right' end
         if args.state == 'plain' then spacerSide = 'right' end
     elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle() == 'Template:Navbox' and (border == 'subgroup' or border == 'child' or border == 'none')) then
     elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox' and (border == 'subgroup' or border == 'child' or border == 'none')) then
         -- No navbar. Need a spacer on the left to balance out the width of the show/hide link.
         -- No navbar. Need a spacer on the left to balance out the width of the show/hide link.
         if args.state ~= 'plain' then spacerSide = 'left' end
         if args.state ~= 'plain' then spacerSide = 'left' end
익명 사용자

둘러보기 메뉴