Difference between revisions of "Module:Bananas"
Line 12: | Line 12: | ||
:addRow('He','Helium') | :addRow('He','Helium') | ||
:addRow('Li','Lithium') | :addRow('Li','Lithium') | ||
+ | :addRow({{infobox}}) | ||
end | end | ||
return p | return p |
Revision as of 04:49, 18 May 2018
Documentation for this module may be created at Module:Bananas/doc
local p = {} function p.run() local capiunto = require 'capiunto' return capiunto.create( { title = tostring(mw.title.getCurrentTitle()) , top = 'Above text', topStyle = 'background:#cfc;', bottom = 'Below text' } ) :addRow('H', 'Hydrogen') :addRow('He','Helium') :addRow('Li','Lithium') :addRow({{infobox}}) end return p