1.381
Bearbeitungen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
local capiunto = require 'capiunto' | local capiunto = require 'capiunto' | ||
capiunto.create( { title = 'Title of the Infobox' } ) | |||
local infobx = capiunto.create( { title = 'Title of the Infobox' } ) | |||
:addRow( 'A label', 'some data' ) | :addRow( 'A label', 'some data' ) | ||
:addHeader( 'A header between the data rows' ) | :addHeader( 'A header between the data rows' ) | ||
:addRow( 'Another label', 'more data' ) | :addRow( 'Another label', 'more data' ) | ||
local html = tostring( infobox:getHtml() ) | local html = tostring( infobox:getHtml() ) |