Module:Song Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) mNo edit summary |
RiceEmpress (talk | contribs) No edit summary |
||
| Line 8: | Line 8: | ||
title = args.title, | title = args.title, | ||
} ) | } ) | ||
:addImage("[[" .. args.image1 .. "]]", args.caption ) | :addImage("[[" .. args.image1 .. "|200px]]", args.caption ) | ||
return retval | return retval | ||
end | end | ||
return p | return p | ||
Latest revision as of 08:24, 3 June 2025
Documentation for this module may be created at Module:Song Infobox/doc
local capiunto = require 'capiunto'
local p = {}
function p.main(frame)
local args = frame:getParent().args
local retval = capiunto.create( {
title = args.title,
} )
:addImage("[[" .. args.image1 .. "|200px]]", args.caption )
return retval
end
return p