Module:Infobox Test

From Bibliotheca Anonoma
Revision as of 19:18, 8 January 2017 by Antonizoon (talk | contribs)

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'
	} )
	:addRow('URL', frame.args[1])
	:addRow('Project Status', frame.args[2])
	:addRow('Archiving Status', frame.args[3])
	:addRow('Project Source', frame.args[3])
end

return p