Module:Copied

This is an old revision of this page, as edited by Trialpears (talk | contribs) at 10:25, 9 October 2019 (Test). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local MessageBox = require('Module:Message box')

function renderBanner()
	return MessageBox.main('tmbox', {
		small = no,
		type = 'notice',
		image = '[[File:Splitsection.svg|50px]]',
		smallimage = 'none',
		text = "Text and/or other creative content from [[{{{from}}}]] was copied or moved into [[{{{to}}}]]. The former page's [{{fullurl:{{{from}}}|action=history}} history] now serves to provide attribution for that content in the latter page, and it must not be deleted so long as the latter page exists. The former page's talk page can be accessed at [[]]."
	})
end


local p = {}

function p._main(args)
	local copied = renderBanner()
	return tostring(copied)
end

function p.main(frame)
	local args = require('Module:Arguments').getArgs(frame)
	return p._main(args)
end

return p