Modul:Infobox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 2: | Zeile 2: | ||
local capiunto = require 'capiunto' | local capiunto = require 'capiunto' | ||
local | local infobox = capiunto.create( { title = 'Title of the Infobox' } ) | ||
:addRow( 'A label', 'some data' ) | :addRow( 'A label', 'some data' ) |
Version vom 1. Juni 2017, 11:10 Uhr
local capiunto = require 'capiunto'
local infobox = capiunto.create( { title = 'Title of the Infobox' } )
- addRow( 'A label', 'some data' )
- addHeader( 'A header between the data rows' )
- addRow( 'Another label', 'more data' )
local html = tostring( infobox:getHtml() )