Hopp til innhold

Modul:Infoboks test

Fra Wikipedia, den frie encyklopedi
Moduldokumentasjon
local p = {}

local ibox = require( 'Module:Infoboks lua' )



local defsTest1 =
{
	{ "bilde", pid = "P18", qid = "qid", bilde = "bilde", bildetekst = "bildetekst", byline = "byline",
			bildestor = "bildestørrelse"},

	{ "rad", param = "munning", pid = "P403"},
	{ "rad", param = "høyde", pid = "P2048"},
	{ "rad", param = "innløp", pid = "P200"},
}

function p.infoboks(frame)
	local start = ibox._ibxStart("biografi","bred","navn","navn2")
	local text,par = ibox._innhold(frame,defsTest1)
	local slutt = ibox._ibxSlutt()
	return start .. text .. slutt
end

return p