User:INVERTED/UserboxMini
|format={{{format|standard}}}
|icon-width={{{icon-width|20px}}}
|icon-height={{{icon-height|20px}}}
|standard-width={{{standard-width|238px}}}
|standard-border={{{standard-border|black}}}
|main-body={{{main-body|}}}
|main-text-size={{{main-text-size|9px}}}
|main-align={{{main-align|left}}}
|main-background={{{main-background|#eef}}}
|main-foreground={{{main-foreground|black}}}
|left-body={{{left-body|}}}
|left-text-size={{{left-text-size|10px}}}
|left-align={{{left-align|center}}}
|left-background={{{left-background|#ccd}}}
|left-foreground={{{left-foreground|black}}}
|right-body={{{right-body|}}}
|right-text-size={{{right-text-size|10px}}}
|right-align={{{right-align|center}}}
|right-background={{{right-background|#ccd}}}
|right-foreground={{{right-foreground|black}}}
|
}}
Usage
|format="standard" (default) for a Wikipedia-style userbox, or "table" for using in a table as in User:INVERTED
|icon-width=Width of left/right areas (default "20px")
|icon-height=Height of left/main/right areas (default "20px")
|standard-width=Width of entire userbox (default "238px")
|standard-border=Border color of entire userbox (default "black")
|main-body=Text to appear in the main area
|main-text-size=Size of text in main area (default "9px")
|main-align=Alignment of text in main area (default "left", valid "left" "center" "right")
|main-background=Background of main area (default "#eef")
|main-foreground=Foreground of main area (default "black")
|left-body=Text to appear in the left area
|left-text-size=Size of text in left area (default "10px")
|left-align=Alignment of text in left area (default "center", valid "left" "center" "right")
|left-background=Background of left area (default "#ccd")
|left-foreground =Foreground of main area (default "black")
|right-body=Text to appear in the right area
|right-text-size=Size of text in right area (default "10px")
|right-align=Alignment of text in right area (default "center", valid "left" "center" "right")
|right-background=Background of right area (default "#ccd")
|right-foreground =Foreground of main area (default "black")
}}
Notes
- All fields are optional.
- If format is set to "table", standard- fields are ignored.
- If left-body or right-body are not set, the other left- or right- fields are ignored.