Modul:Infobox: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
 
local p = {}
local capiunto = require 'capiunto'
local infobox = capiunto.create({title = 'Title of the Infobox'})
function p.run(frame)
infobox:addRow( 'A label', 'some data' )
local capiunto = require 'capiunto'
infobox:addHeader( 'A header between the data rows' )
return capiunto.create( {
infobox:addRow( 'Another label', 'more data' )
title = tostring(mw.title.getCurrentTitle()) ,
local html = tostring( infobox:getHtml() )
top = 'Above text',
topStyle = 'background:#cfc;',
bottom = 'Below text'
} )
:addRow(frame.args[1], frame.args[2])
:addRow(frame.args[3], frame.args[4])
end
return p
1.381

Bearbeitungen

Navigationsmenü