Module:Infobox Test: Difference between revisions

From Bibliotheca Anonoma
(Created page with "local capiunto = require 'capiunto' capiunto.create( { title = 'Title of the Infobox' } ) :addRow( 'A label', 'some data' ) :addHeader( 'A header between the data rows' ) :ad...")
 
No edit summary
Line 1: Line 1:
local capiunto = require 'capiunto'
local p = {}
capiunto.create( {
title = 'Title of the Infobox'
function p.run(frame)
} )
local capiunto = require 'capiunto'
:addRow( 'A label', 'some data' )
return capiunto.create( {
:addHeader( 'A header between the data rows' )
-- Some initial options, like global styles, go here
:addRow( 'Another label', 'more data' )
} )
end
 
return p

Revision as of 19:08, 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( {
		-- Some initial options, like global styles, go here
	} )
end

return p