Toggle menu
Toggle preferences menu
Toggle personal menu
Et ole kirjautunut
Your IP address will be publicly visible if you make any edits.

Ero sivun ”Moduuli:Esine Infobox” versioiden välillä

Sarastus Wikistä
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