Module:Infobox Test: Difference between revisions

From Bibliotheca Anonoma
No edit summary
No edit summary
Line 4: Line 4:
local capiunto = require 'capiunto'
local capiunto = require 'capiunto'
return capiunto.create( {
return capiunto.create( {
-- Some initial options, like global styles, go here
title = tostring(mw.title.getCurrentTitle()) ,
top = 'Above text',
topStyle = 'background:#cfc;',
bottom = 'Below text'
} )
} )
end
end


return p
return p

Revision as of 19:09, 8 January 2017

Documentation for this module may be created at Module:Infobox Test/doc

local p = {}
 
function p.run(frame)
	local capiunto = require 'capiunto'
	return capiunto.create( {
		title = tostring(mw.title.getCurrentTitle()) ,
		top = 'Above text',
		topStyle = 'background:#cfc;',
		bottom = 'Below text'
	} )
end

return p