Module:Song Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) No edit summary Tag: Manual revert |
RiceEmpress (talk | contribs) No edit summary |
||
| Line 9: | Line 9: | ||
title = args.title, | title = args.title, | ||
} ) | } ) | ||
:addImage( args.image1, args.caption ) | :addImage("[[" .. args.image1 .. "]]", args.caption ) | ||
return retval | return retval | ||
end | end | ||
return p | return p | ||
Revision as of 05: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 headerStyle
local retval = capiunto.create( {
title = args.title,
} )
:addImage("[[" .. args.image1 .. "]]", args.caption )
return retval
end
return p