Usage

edit

To use this userbox template, place the following Wiki markup on your user page:

{{User:Ahunt/Pictures|num}}

where:

  • num  is the number of images you have uploaded to Wikipedia and Wikimedia Commons.

This template creates a userbox similar to the following:

 This user has contributed 42 images to Wikipedia and Commons.




Named parameters

edit

All named parameters are optional and control the display of the userbox. Colors can be specified as any web color name or hex value (e.g. red or #FF0000). Aside from image, the parameter names match those of Template:Userbox.

  • border-c: Border color. Defaults to #FF6060 (a red color sometimes known as "bittersweet", though that is not a valid web color name).
  • id-c: Background color of the left section of the box. Defaults to #FFCC99 (a pink color sometimes known as "mauve", though that is not a valid web color name).
  • image: An image to use in place of the standard butterfly photo, perhaps one you've contributed. A size should be specified at which to display the image: 45 pixels high works well if you're not interested in showing the id-c background color; otherwise you'll want the display height to be 43 pixels or below. Defaults to [[Image:Tailed jay PRA01.jpg|59px]] (which for this image results in a size of 59x43).
  • info-c: Background color of the right section of the box. Also defaults to #FFCC99.
  • info-fc: Font color for the right section of the box. Defaults to #000000 (black).
  • videos: If this parameter is specified, " and X videos" will be added to the box text, where X is the number passed in. The unnamed parameter can be specified as 0 if you've only contributed videos, and not images.

For example, using the following named parameters (which can come before or after the unnamed parameter that specifies the number of pictures):

{{User:Ahunt/Pictures|3|border-c=#000000|id-c=#000000|image=[[File:Autumn in Bishamon-dō temple garden, Kyōto, Japan, 2000-11-25.jpg|x45px]]|info-c=GhostWhite|videos=1}}

will produce the following userbox:

 This user has contributed 3 images and 1 video to Wikipedia and Commons.