Module:Bananas

From Cysteinome
Revision as of 03:41, 4 December 2018 by Wu3857 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation for this module may be created at Module:Bananas/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'
	} )
	:addRow(frame.args[1], frame.args[2])
	:addRow(frame.args[3], frame.args[4])
end
 
return p