Module:Character Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) No edit summary |
RiceEmpress (talk | contribs) No edit summary Tag: Manual revert |
||
| Line 8: | Line 8: | ||
:addImage( args.image1, args.caption ) | :addImage( args.image1, args.caption ) | ||
:addRow( 'Voice', args.voice ) | :addRow( 'Voice', args.voice ) | ||
:addRow( 'JP Name', args.jpname ) | |||
return infobox | return infobox | ||
end | end | ||
return p | return p | ||
Revision as of 06:25, 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( args.image1, args.caption )
:addRow( 'Voice', args.voice )
:addRow( 'JP Name', args.jpname )
return infobox
end
return p