Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:WPMILHIST Infobox style: Difference between revisions

From ProleWiki, the proletarian encyclopedia
No edit summary
No edit summary
 
Line 3: Line 3:
header_raw = 'text-align:center;padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;',
header_raw = 'text-align:center;padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;',
sub_header_raw = 'text-align:center;vertical-align:middle;',
sub_header_raw = 'text-align:center;vertical-align:middle;',
header_color = 'background-color:#C3D6EF;',
nav_box = 'margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;',
nav_box = 'margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;',
nav_box_child = 'margin:0;float:right;clear:right;width:25em;margin-bottom:0.5em;',
nav_box_child = 'margin:0;float:right;clear:right;width:25em;margin-bottom:0.5em;',

Latest revision as of 23:26, 28 September 2023

local retval = {
	main_box_raw_auto_width = 'border-spacing:2px;',
	header_raw = 'text-align:center;padding:0.25em 0.33em 0.33em;line-height:1.2em;font-size:1.25em;',
	sub_header_raw = 'text-align:center;vertical-align:middle;',
	nav_box = 'margin:0;float:right;clear:right;width:25.5em;margin-bottom:0.5em;margin-left:1em;',
	nav_box_child = 'margin:0;float:right;clear:right;width:25em;margin-bottom:0.5em;',
	nav_box_wide =  '',
	nav_box_label = 'background-color:#DCDCDC;',
	image_box_raw = 'text-align:center;border-bottom:1px solid #aaa;line-height:1.5em;',
	image_box_plain_raw = 'text-align:center;line-height:1.5em;',
	internal_border = '1px dotted #aaa;',
	section_border = '1px solid #aaa;'
}

retval.main_box_raw = 'width:25em;' .. retval.main_box_raw_auto_width
retval.header_bar = 'style="' .. retval.header_raw .. '"'
retval.sub_header_bar = 'style="' .. retval.sub_header_raw .. '"'
retval.image_box = 'style="' .. retval.image_box_raw .. '"'
retval.image_box_plain = 'style="' .. retval.image_box_plain_raw .. '"'

return retval