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

3 바이트 추가됨 ,  2016년 10월 21일 (금)
편집 요약 없음
편집 요약 없음
편집 요약 없음
402번째 줄: 402번째 줄:
-- 'protection-template' --> 'pp-template'
-- 'protection-template' --> 'pp-template'
-- 'protection-template-args' --> {docusage = 'yes'}
-- 'protection-template-args' --> {docusage = 'yes'}
local protectionLevels, ProtectionBanner
local protectionLevels, mProtectionBanner
local title = env.title
local title = env.title
protectionLevels = env.protectionLevels
protectionLevels = env.protectionLevels
412번째 줄: 412번째 줄:
if editProt then
if editProt then
-- The page is edit-protected.
-- The page is edit-protected.
ProtectionBanner = requiretemplate(':보호-틀')
mProtectionBanner = require('Module:Protection banner')
local reason = message('protection-reason-edit')
local reason = message('protection-reason-edit')
return ProtectionBanner._main{'이유', '크기 = 작게'}
return mProtectionBanner._main{'이유', '크기 = 작게'}
elseif moveProt and moveProt ~= 'autoconfirmed' then
elseif moveProt and moveProt ~= 'autoconfirmed' then
-- The page is move-protected but not edit-protected. Exclude move
-- The page is move-protected but not edit-protected. Exclude move
-- protection with the level "autoconfirmed", as this is equivalent to
-- protection with the level "autoconfirmed", as this is equivalent to
-- no move protection at all.
-- no move protection at all.
ProtectionBanner = requiretemplate(':이동보호-틀')
mProtectionBanner = require('Module:Protection banner')
return ProtectionBanner{action = '이동', '크기 = 작게'}
return mProtectionBanner{action = '이동', '크기 = 작게'}
else
else
return nil
return nil
익명 사용자