Module:Infobox: Difference between revisions

From Bibliotheca Anonoma
No edit summary
No edit summary
Line 1: Line 1:
local capiunto = require 'capiunto'
capiunto.create( {
capiunto.create( {
title = 'Damaged Goods'
-- …
title = tostring(mw.title.getCurrentTitle())
-- …
} )
} )
:addRow( 'A label', 'some data' )
:addHeader( 'A header between the data rows' )
:addRow( 'Another label', 'more data' )

Revision as of 01:57, 12 June 2017

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

capiunto.create( {
	-- …
	title = tostring(mw.title.getCurrentTitle())
	-- …
} )