FANDOM


--------------------------------------------------
-- License module
-- Author: [[User:Cafeinlove]]
-- License: MIT license
--
-- [[틀:저작권]]에서 사용중
--------------------------------------------------
 
local p = {}
 
local getArgs
local messagebox
 
local function renderMessagebox( license )
	messgebox = mw.getCurrentFrame():expandTemplate({ title = license })
end
 
--- p.main()
-- {{{1}}} to {{ {{{1}}} }}
function p.main( frame )
	if not getArgs then getArgs = require( 'Module:Arguments' ).getArgs end
 
	local args = getArgs( frame )
	local license = args[1]
 
	if not pcall( renderMessagebox, license ) then
		return '<p class="text-warning">해당하는 저작권 틀이 없습니다.</p>'
 	end
 
 	return messagebox
end
 
return p
 
-- [[분류:파일 저작권 태그]]

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on FANDOM

Random Wiki