![]() | This Lua module is used on approximately 40,000 pages and changes may be widely noticed. Test changes in the module's /sandbox or /testcases subpages, or in your own module sandbox. Consider discussing changes on the talk page before implementing them. |
![]() | This module depends on the following other modules: |
This module implements {{Copied}}. Please see the template page for documentation.
local MessageBox = require('Module:Message box')
argtable = {}
function Copied:renderBannerText()
if #argtable == 1 then
text = text + "Text and/or other creative content from [{{fullurl:" + argtable[1]["from"] + "|redirect=no}} " + argtable[1]["from"] + "] from"
end
end
function Copied:renderBanner()
return MessageBox.main('tmbox', {
small = 'no',
type = 'notice',
image = '[[File:Splitsection.svg|50px]]',
smallimage = 'none',
text = self:renderBannerText()
})
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