Module:Character Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) (let's go back to minimal and go from there) |
RiceEmpress (talk | contribs) mNo edit summary |
||
| Line 7: | Line 7: | ||
} ) | } ) | ||
:addImage('Image', args.image1, args.caption ) | :addImage('Image', args.image1, args.caption ) | ||
return infobox | return infobox | ||
end | end | ||
return p | return p | ||
Revision as of 06:16, 3 June 2025
Documentation for this module may be created at Module:Character Infobox/doc
local capiunto = require 'capiunto'
local p = {}
function p.main(frame)
local args = frame:getParent().args
local infobox = capiunto.create( {
title1 = args.title1
} )
:addImage('Image', args.image1, args.caption )
return infobox
end
return p