User:John Reid/divboxnotes


 * THESE ARE NOT REALLY ACCURATE OR UP TO DATE -- BUT CLOSE ***

PARAMETER LIST

<<<<<<<<<< WORKBAR >>>>>>>>>>>> divbox

iconput	default, left, right, center, leftdrop, rightdrop, centerdrop, l, r, c, ld, rd, cd, none controls position of icon cell default: left set in main divbox table layout

colorkey	red, blue, navy, none... controls bar (title background color), background, �border (border color), font (in case of reverse) passed to divboxcolor was parm1 default: plain color	alias of colorkey 1	alias of colorkey

modelkey	default, thin, fat, bar, chicago, none controls margin, padding, border (border style), and bar on/off passed to divboxmodel new default: thin model	alias of modelkey

title	any content was parm2 default: null 2	alias of title

content	any content was parm3 default: null 3	alias of content

float	left, right, center, l, r, c, none controls float of entire box default: center * note: none will left-align but not float left and right are really floats center is align-center but no float float is not cleared ?align	alias of float

width	2,3,4,5, or any valid CSS width controls width of entire box default: auto

style	any valid CSS property:attribute(s) controls anything (unless overridden) default: ""

icon	name of image file omit "Image:" controls icon content default: no image

iconsize	int omit "px" controls size (width) of icon default: 48

titlealign	left, right, center controls alignment of title default: center this is not a float

contentalign	left, right, center controls alignment of contents default:left this is not a float

category	any project category page omit "Category:" controls categorization of *calling* page default: no category cat	alias of category

sort	any text controls sorting on cat page default: none (will sort on calling page name)

id	any text sets CSS id for outermost div

noinclude	other noinclude text

includeonly	other include only text

divboxpart 1	part name main, title, icon, content, none no default (fails with "SWITCH-ERROR-PART")

2	colorkey amber, black, bloodred, blue, ... 3	modelkey thin, fat, bar... 4	float none, left, right, center, l, r, c, centre 5	width 1, 2, 3, 4, 5, /or explicit CSS 6	style /explicit CSS 7	content /be careful of restrictions

divboxcolor

1	background, border, bar, title, content controls which value is returned; generally hex color codes no default (fails with "SWITCH-ERROR-COLOR")

2	colorkey	passed in from outermost call

divboxmodel

1	margin, padding, float, width, border, title, icon, content controls which value is returned; generally em-width or pixel values; maybe explicit CSS no default (fails with "SWITCH-ERROR-MODEL")

2	modelkey	passed in from outermost call

3	colorkey	passed in from outermost call