Module:Song Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) No edit summary |
RiceEmpress (talk | contribs) mNo edit summary |
||
| Line 5: | Line 5: | ||
function p.main(frame) | function p.main(frame) | ||
local args = frame:getParent().args | local args = frame:getParent().args | ||
local retval = capiunto.create( { | local retval = capiunto.create( { | ||
title = args.title, | title = args.title, | ||
Revision as of 06:09, 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 .. "]]", args.caption )
return retval
end
return p