Jump to content

Module:Copied

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Trialpears (talk | contribs) at 10:23, 9 October 2019 (Test). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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

function OldAfdMulti:renderBanner()
	return MessageBox.main('tmbox', {
		small = self.isSmall,
		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