User:INVERTED/UserboxMini

From Wikipedia, the free encyclopedia

Usage[edit]

{{User:INVERTED/Userbox
 |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[edit]

  • 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.

See also[edit]