Module:Character Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) mNo edit summary |
RiceEmpress (talk | contribs) (let's go back to minimal and go from there) |
||
| Line 9: | Line 9: | ||
:addRow( 'Voice', args.voice ) | :addRow( 'Voice', args.voice ) | ||
:addRow( 'JP Name', args.jpname ) | :addRow( 'JP Name', args.jpname ) | ||
return infobox | return infobox | ||
end | end | ||
return p | return p | ||
Revision as of 06:15, 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 )
:addRow( 'Voice', args.voice )
:addRow( 'JP Name', args.jpname )
return infobox
end
return p