Module:Character Infobox: Difference between revisions
From NOISZ Wiki
RiceEmpress (talk | contribs) mNo edit summary |
RiceEmpress (talk | contribs) mNo edit summary |
||
| Line 11: | Line 11: | ||
:addHeader( 'Physical' ) | :addHeader( 'Physical' ) | ||
:addRow( 'Also known as', args.also_known_as ) | :addRow( 'Also known as', args.also_known_as ) | ||
return infobox | return infobox | ||
Revision as of 06:39, 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.jp_name )
:addHeader( 'Physical' )
:addRow( 'Also known as', args.also_known_as )
return infobox
end
return p