Jump to content

Module:Message box: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 6:
local getArgs
local yesno = require('Module:Yesno')
local templatestyles = 'Module:Message box/styles.css'
 
-- Get a language object for formatDate and ucfirst.
Line 603 ⟶ 604:
function p.main(boxType, args, cfgTables)
local box = MessageBox.new(boxType, args, cfgTables or mw.loadData(CONFIG_MODULE))
local templatestyles = mw.loadData(CONFIG_MODULE)
box:setParameters()
box:setCategories()
return box:export()
end
local function p.templateStyletemplatestyles( frame, src )
return frame:extensionTag( 'templatestyles', '', { src = src } );
end
 
function mt.__index(t, k)
return function (frame)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.