| <3 | Enter text here |
Userbox template
Make your own userboxes! You can use this template or the {{Userbox themed}} variant that has built-in color themes.
Note that any images you upload must be PG and not overly flashy. If you want to use an existing image, check out Category:Icons for ideas.
Accessibility tips
- Make sure you have plenty of contrast between the text color and the background color. Use light/dark or dark/light.
- Avoid neon colors (e.g. neon green) because these hurt some people's eyes.
- Avoid flashing or distracting animations.
Beauty tips
- Make sure your font sizes don't cause overflow.
- Try copy-pasting site colors from our table for beautiful color harmony. It'll look great on our site and next to other userboxes.
- Text links are deep navy/blue violet by default, but you can use the "black-links" or "white-links" classes if you'd like to override this.
Courtesy
- Don't add a userbox to someone else's page without permission.
- Skip spammy, NSFW, or disrespectful topics/language.
- For example, "This user supports commenting your code" is fine. "This user thinks people who don't comment their code are brainless" is not.
- Be cautious about political topics, or just skip them. Our purpose is to educate on code, not start fights with other users.
- Don't create userboxes that are racist, sexist, transphobic, or derogatory towards any other group.
Note
Our rules apply to any images that you upload.
Admins reserve the right to:
- Delete userboxes for any reason
- Edit userboxes to fix poor contrast, typos, poor formatting, or images that violate our rules
More info
If a parameter doesn't make sense to you, just leave it alone. A few of the ones near the bottom are for special fancy features that you typically don't need.
This code is copied from the Autism Living Wiki.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Border color | border-color | Color of border
| Unknown | suggested |
| Left BG color | logo-bg-color | Background color for left logo area
| Unknown | suggested |
| Image on the left (optional) | image | If you don't put an image here, you may use text instead. | Unknown | suggested |
| Image width | width | Width of image (default 25px, box size is 45px) | Unknown | suggested |
| Image link (optional) | imagelink | Name of a wiki page to link the image to
| Unknown | suggested |
| Image alt text | alt | Not needed for decorative images (i.e., most userbox images). Add very short, concise text if needed for screen readers
| Unknown | optional |
| Left logo text | logo | If you aren't using an image, put an emoji or a few letters. | Unknown | optional |
| Left font size (if using text) | logo-size | Default: 14pt
| Unknown | optional |
| Left text color (if using text) | logo-color | no description
| Unknown | optional |
| Right info text | info | The text on the right side
| Unknown | suggested |
| Right info BG color | bg-color | Green is #C5D96B, blue is #BBDEE8, pink is #F4C5D0 (default: yellow)
| Unknown | suggested |
| Right info text color | info-color | Brown is #943025. (default: black)
| Unknown | suggested |
| Right info font size | info-size | Tip: up to 11pt for 2 lines of text; try 12pt for one line of text (default: 10pt)
| Unknown | suggested |
| Special classes | class | Optional special controls like link colors (links are dark by default)
| Unknown | optional |
| Left styles | logo-styles | Special CSS styles for the left logo area
| Unknown | optional |
| Right info styles | info-styles | Special CSS styles for the info area | Unknown | optional |
| CSS filter | filter | Special CSS filter for the image
| Unknown | optional |
| For template usage only: Is this a demo? | demo | Only relevant for the template namespace. Put "Yes" to override the "List of userbox" category inclusion.
| Unknown | optional |