Module:InfoboxCharacter
From Elwiki
Documentation for this module may be created at Module:InfoboxCharacter/doc
require('Module:CommonFunctions')
require('Module:InfoboxProto');
local getArgs = require('Module:Arguments').getArgs
local p = {}
-- Main process
function p.main(frame)
local args = getArgs(frame);
local infobox = require('Module:InfoboxProto').main(frame, args.class);
infobox:addClass('infobox-character');
if (args.name1 == nil and args.name2 == nil) then
addField('name', 'Full Name');
end
addField2('name', 'Full Name');
addField('class');
addField2('classes', 'Classes');
addField('weapon', nil, true);
addField('age', nil, true);
addField('race', nil, true);
addField('Birth', 'Birthday', true);
addField('Height', nil, true);
addField('Weight', nil, true);
addField('Blood', 'Blood Type', true);
addField('ESP', '[[El Search Party Collection|ESP Collection]]');
addField('tree', 'Class Tree');
addField('VA', 'Voice Actors', true);
addField('RD', 'Release Date');
addField('TRD', 'Trans. Release Date');
addField('MRD', 'Master Class Release Date');
addField('theme');
addField('video', 'Job Path Story Movie');
addField('stat', 'Statistics');
return tostring(infobox);
end
return p