Anonymous

Module:InfoboxCharacter: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 9: Line 9:
     local infobox = require('Module:InfoboxProto').main(frame, args.class);
     local infobox = require('Module:InfoboxProto').main(frame, args.class);
     infobox:addClass('infobox-character');
     infobox:addClass('infobox-character');
    if (args.name1 == nil and args.name2 == nil) then
        addField('name', args.l_name);
    end


     local fields = {
     local fields = {
Line 18: Line 14:
             id = 'name',
             id = 'name',
             localize = args.l_name,
             localize = args.l_name,
             dual = true,
             dual = true
            special = true
         },
         },
         {
         {