ElEditors, Interface administrators, Administrators
70,980
edits
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
local infobox = mw.html.create('div'):addClass('infobox-character'); | local infobox = mw.html.create('div'):addClass('infobox-character'); | ||
infobox:tag('div'):addClass('infobox-character-header'):css('background-color', args.color:gsub("%#", "#")):css( | infobox:tag('div'):addClass('infobox-character-header'):css('background-color', args.color:gsub("%#", "#")):css( | ||
'color', args.textcolor):wikitext(args. | 'color', args.textcolor):wikitext(args.class:gsub("%[%[a%]%]", "")); | ||
infobox:tag('div'):addClass('infobox-character-image'):wikitext(args.image); | infobox:tag('div'):addClass('infobox-character-image'):wikitext(args.image); | ||
Line 49: | Line 49: | ||
end | end | ||
addField('fullname', 'Full Name'); | |||
addField2('fullname', 'Full Name'); | addField2('fullname', 'Full Name'); | ||
addField('class'); | addField('class'); |