모듈:PD-South Korea-organization
보이기
| 위 설명은 모듈:PD-South Korea-organization/설명문서의 내용을 가져와 보여주고 있습니다. (편집 | 역사) 연습장 (생성 | 복제) 및 시험장 (생성) 문서에서 이 모듈을 실험할 수 있습니다. 이 모듈에 딸린 문서. |
require('strict')
local p = {} --p stands for package
local getArgs = require('Module:Arguments').getArgs
local yesno = require('Module:Yesno')
local PD = require('Module:PD')
function p._PD_South_Korea_organization(args)
local pubyear = PD.getPublicationYear({args[1], args['공표연도'], args.pubyear})
local category = args['분류'] or args.category
local uraa = yesno(args.uraa or args.URAA) or false
local warning = yesno(args['경고숨김'] or args.nowarning) or false
if pubyear and pubyear >= math.max(2013 - 50, PD.currentyear - 70) then
return PD.error_text("PD-South Korea-organization 틀은 " .. math.max(2013 - 50, PD.currentyear - 70) .. "년 후에 공표된 저작물에 사용할 수 없습니다.", "PD-South Korea-organization")
end
local published_info
if pubyear then
published_info = pubyear .. "년에 공표된 "
else
published_info = ""
end
local text = PD.license_scope() .. " 대한민국에서 '''[[위키문헌:퍼블릭 도메인|퍼블릭 도메인]]'''입니다. 대한민국 [[저작권법 (대한민국)|저작권법]] 제41조 및 제42조에 따르면, 대한민국의 관할 아래 있는 '''법인 등이 작성한 업무상저작물''' 및 '''영상저작물'''은 공표로부터 70년이 경과하면 저작재산권이 소멸됩니다(1987년 7월 전에는 30년, 2013년 7월 1일 전에는 50년).\n\n다만, 창작한 때부터 50년 이내에 공표되지 않은 경우 창작한 때부터 70년이 경과하면 저작재산권이 소멸됩니다(1987년 7월부터 1996년 6월까지는 10년/50년, 1996년 7월부터 2013년 6월까지는 50년/50년). \n\n추가로 현행 저작권법 제49조에 의해 법인 또는 단체가 해산되어 민법 또는 그밖의 법률에 의해 저작재산권이 국가에 귀속될 때도 저작권이 소멸합니다.\n"
if pubyear and 1963 <= pubyear then -- 70Y
text = text .. "\n" .. published_info .. "이 저작물은 70년 규정에 따라 " .. ( pubyear + 71 ) .. "년에 대한민국에서 저작재산권이 소멸하였습니다."
elseif pubyear and 1957 <= pubyear and pubyear < 1963 then -- 50Y
text = text .. "\n" .. published_info .. "이 저작물은 50년 규정에 따라 " .. ( pubyear + 51 ) .. "년에 대한민국에서 저작재산권이 소멸하였습니다."
elseif pubyear and pubyear < 1957 then -- 30Y
text = text .. "\n" .. published_info .. "이 저작물은 30년 규정에 따라 " .. ( pubyear + 31 ) .. "년에 대한민국에서 저작재산권이 소멸하였습니다."
end
local license_data = {
['image'] = PD.PD_image,
['image_r'] = 'Flag of South Korea.svg',
['text'] = text,
}
if pubyear and pubyear < PD.PD_US_cutoff then
license_data['text'] = text .. "\n----\n" .. PD.license_scope() .. " " .. PD.PD_US_cutoff .. "년 1월 1일 전인 " .. pubyear .. "년에" .. " 공표되었으므로, '''미국'''에서 '''[[위키문헌:퍼블릭 도메인|퍼블릭 도메인]]'''입니다."
license_data['category'] = args['분류'] or args.category or "PD-South Korea-organization-US"
elseif uraa then
license_data['text'] = text .. "\n----\n" .. PD.license_scope() .. " 미국 밖에서 처음 공표되었고(이와 동시에 30일 이내에 미국에서 공표되지 않았고), '''그리고''' 1989년 3월 1일 전에 미국의 저작권 형식 요건(갱신 및/또는 저작권 공고)을 준수하지 않고 처음 공표되었거나, 또는 1964년 전에 공표되어 저작권 갱신을 받지 않았으며, '''그리고''' [[w:우루과이 라운드|우루과이 라운드]] 날짜(1996년 1월 1일)를 기준으로 대한민국에서 퍼블릭 도메인이었기 때문에, '''미국'''에서 '''퍼블릭 도메인'''입니다."
license_data['category'] = args['분류'] or args.category or "PD-South Korea-organization-1996"
elseif warning then
license_data['category'] = args['분류'] or args.category or "PD-South Korea-organization"
else
license_data['warning'] = "이 저작물이 미국에서도 자유 라이선스 또는 퍼블릭 도메인인 이유를 별도로 명시하여야 합니다."
license_data['category'] = args['분류'] or args.category or "PD-South Korea-organization"
end
return PD.license(license_data)
end
function p.PD_South_Korea_organization(frame)
return p._PD_South_Korea_organization(getArgs(frame))
end
return p