Module:WPMILHIST Infobox style: Difference between revisions
Jump to navigation
Jump to search
imported>Jackmcbarn (←Created page with 'local retval = { --main_box = 'class="infobox {{#if:{{{2|}}}|{{{2}}}}}" style="float:right;clear:right;width:315px;border-spacing:2px;text-align:left;font-size:...') |
imported>Jackmcbarn (make main_box_raw match what its doc says it is) |
||
Line 1: | Line 1: | ||
local retval = { | local retval = { | ||
main_box_raw_auto_width = 'float:right;clear:right;border-spacing:2px;font-size:90%', | |||
header_raw = 'background-color:#B0C4DE;text-align:center;vertical-align:middle;font-size:110%', | header_raw = 'background-color:#B0C4DE;text-align:center;vertical-align:middle;font-size:110%', | ||
sub_header_raw = 'background-color:#DCDCDC;text-align:center;vertical-align:middle', | sub_header_raw = 'background-color:#DCDCDC;text-align:center;vertical-align:middle', | ||
Line 18: | Line 16: | ||
} | } | ||
retval.main_box_raw = 'width:315px;' .. retval.main_box_raw_auto_width | |||
retval.header_bar = 'style="' .. retval.header_raw .. '"' | retval.header_bar = 'style="' .. retval.header_raw .. '"' | ||
retval.sub_header_bar = 'style="' .. retval.sub_header_raw .. '"' | retval.sub_header_bar = 'style="' .. retval.sub_header_raw .. '"' |
Revision as of 15:23, 7 October 2014
Documentation for this module may be created at Module:WPMILHIST Infobox style/doc
local retval = { main_box_raw_auto_width = 'float:right;clear:right;border-spacing:2px;font-size:90%', header_raw = 'background-color:#B0C4DE;text-align:center;vertical-align:middle;font-size:110%', sub_header_raw = 'background-color:#DCDCDC;text-align:center;vertical-align:middle', header_color = 'background-color:#B0C4DE', nav_box = 'margin:0;float:right;clear:right;width:315px;margin-bottom:0.5em;margin-left:1em', nav_box_child = 'margin:0;float:right;clear:right;width:305px;margin-bottom:0.5em', nav_box_wide = '', nav_box_header = 'background-color:#B0C4DE', nav_box_wide_header = 'background-color:#B0C4DE', nav_box_label = 'background-color:#DCDCDC', image_box_raw = 'text-align:center;font-size:90%;border-bottom:1px solid #aaa;line-height:1.5em', image_box_plain_raw = 'text-align:center;font-size:90%;line-height:1.5em', internal_border = '1px dotted #aaa', section_border = '1px solid #aaa' } retval.main_box_raw = 'width:315px;' .. 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