Module:Character Infobox

From NOISZ Wiki
Revision as of 07:39, 3 June 2025 by RiceEmpress (talk | contribs)

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( args.image1, args.caption )
	:addRow( 'Voice', args.voice )
	:addRow( 'JP Name', args.jp_name )
    :addHeader( 'Physical' )
	:addRow( 'Also known as', args.also_known_as )
	:addRow( 'Eye Colour', args.eye_colour )
	:addRow( 'Hair Colour', args.hair_colour )

    return infobox
end

return p