Module:Infobox multi-lingual name/sandbox: Difference between revisions

Content deleted Content added
use Module:Infobox multi-lingual name/data/sandbox
sync with live version (except for including data/sandbox)
Line 230:
infobox_args['bodyclass'] = 'collapsible collapsed';
infobox_args['bodystyle'] = 'display:inline-table; text-align: left;';
infobox_args['abovestyle'] = 'font-size: 100%; text-align: left; background-color: #f9ffbc;'; -- TODO: #define various colors in a common config ___location; and function?
infobox_args['headerstyle'] = 'background-color: #dcffc9;'; -- TODO: #define various colors in a common config ___location; and function?
Line 292 ⟶ 293:
 
ibox_boilerplate (infobox_args, args)
 
print(str('none' == args.header)..('none' == args.chinese_header))
if ('none' =~= args.header) orand ('none' =~= args.chinese_header) then
infobox_args['header1'] = "No args.header" or args.chinese_header or 'Chinese name';
else
infobox_args['header1'] = args.header or args.chinese_header or args.header..('none' == args.header)..('none' == args.chinese_header);
end