Module:CIB: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 9: | Line 9: | ||
		bottom = 'Below text'  | 		bottom = 'Below text'  | ||
	} )  | 	} )  | ||
	:  | 	:addImage(frame.args[1], frame.args[2])  | ||
	:addRow(frame.args[3], frame.args[4])  | 	:addRow(frame.args[3], frame.args[4])  | ||
	:addRow(frame.args[5], frame.args[6])  | |||
	:addRow(frame.args[7], frame.args[8])  | |||
	:addRow(frame.args[9], frame.args[10])  | |||
end  | end  | ||
return p  | return p  | ||
Revision as of 22:17, 21 June 2021
Documentation for this module may be created at Module:CIB/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'
	} )
	:addImage(frame.args[1], frame.args[2])
	:addRow(frame.args[3], frame.args[4])
	:addRow(frame.args[5], frame.args[6])
	:addRow(frame.args[7], frame.args[8])
	:addRow(frame.args[9], frame.args[10])
end
 
return p