Lisää toimintoja
Ak: Uusi sivu: local p = {} function p.run(frame) local capiunto = require 'capiunto' return capiunto.create( { title = tostring(mw.title.getCurrentTitle()) , 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 |
(ei mitään eroa)
|
Nykyinen versio 29. lokakuuta 2023 kello 19.41
Tämän moduulin ohjeistuksen voi tehdä sivulle Moduuli:Esine Infobox/ohje
local p = {}
function p.run(frame)
local capiunto = require 'capiunto'
return capiunto.create( {
title = tostring(mw.title.getCurrentTitle()) ,
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