Help:Userboxes
From MopedWiki
|
Userboxes are small colored boxes designed to appear on user pages. They may include one or two small graphics and a few short lines of text. Userboxes are generally created as templates and put onto userpages. Userboxes should not be used in articles.
Using Userboxes
Some guidelines for userboxes:
- Userboxes should ONLY be included on userpages. Do not put them in articles.
- Do not put userboxes on other people's userpages. If you'd like to use them, put them on your page.
How-to:
- Userboxes are linked the same way templates are:
{{name of userbox}} - For example, if you would like to add the Puch userbox to your userpage, you would type:
{{User Puch}} - A list of all userboxes can be found below.
Making Userboxes
Userboxes are created just like any other template. However, they must be prefaced with "user." For example, you could search for "Template:User Beer Is Tasty" if you wanted to make a userbox for people who think beer is tasty. (Note how it says "User" before "Beer Is Tasty").
If you have an idea for a userbox, you can use the following guide to make it, or you can post your idea here on the talk page and someone will make it for you.
Userbox parameters
There are a number of box types to select from when deciding to make a userbox. The most commonly used design is the "Standard box". It has one square shaped area on the left ("id") and a rectangular area on the right ("info").
For ease of use, userboxes are made using maker-templates that have a number of parameters. Once the maker-template is saved, it is automatically transformed to HTML.
| Template Parameters | Meaning | Value type |
|---|---|---|
| border-c | The border color of the userbox. | CSS color value (hexadecimal/#hex or color name) |
| border-s | The border size of the userbox. | Width in pixels |
| id-c | The background color of the id box. | CSS color value |
| id-s | The font size of the id box. | Size in PostScript points |
| id-fc | The font color of the id box text. | CSS color value |
| id-p | The distance between border and content of id box. | CSS padding width value. Pixel, point |
| id-lh | The distance between text lines of id box. | CSS relative line height/length value. (Em) |
| info-c | The background color of info box. | CSS color value |
| info-s | The font size of info box. | Size in PostScript points |
| info-fc | The font color of info box. | CSS color value |
| info-p | The distance between border and content of info box. | CSS padding width value. px, pt |
| info-lh | The distance between text lines of info box. | CSS relative line height/length value. em |
| id | This is the content of the id box. | Free-form |
| info | This is the content of info box. | Free-form |
The id and info boxes can include text, links, and images using the usual Wikipedia syntax. Generally, the id box will contain a few letters or a 43px image, while the info box will contain a sentence with a link or two.
Userbox types
| Code | Appearance | |||
|---|---|---|---|---|
| Standard box | ||||
| {{Userbox |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |info-c=#039 |info-s=8 |info-fc=#fff |id=ID |info=Content}}
or {{Userbox |side-box colour |main box colour |side-box content |main box content}} |
| |||
| Reverse box | ||||
| {{Userbox-r |border-c=#000 |border-s=1 |id-c=#fff |id-s=12 |id-fc=#000 |info-c=#039 |info-s=8 |info-fc=#fff |id=ID |info=Content}}
or {{Userbox-r |side-box colour |main box colour |side-box content |main box content}} |
| |||
| Double box | ||||
| {{Userbox-2 |border-c=#000 |border-s=1 |id1-c=#fff |id1-s=12 |id1-fc=#000 |id2-c=#000 |id2-s=12 |id2-fc=#fff |info-c=#039 |info-s=8 |info-fc=#fff |id1=ID 1 |id2=ID 2 |info=Content}}
or {{Userbox-2 |side-box 1 colour |main box colour |side-box 1 content |message |side-box 2 content |border colour |side-box 2 colour |main box font-colour |box border thickness}}
|
| |||
Gallery
A gallery of the userboxes on the Moped Wiki.
| Box | Text (copy and paste this into your userpage to add this box) | |||
|---|---|---|---|---|
|
| {{User Puch}} | |||
| {{User Motobecane}} | |||
| {{User Kromag}} | |||
| {{User Noped}} | |||
| {{User Dude}} | |||
| {{User Ladydude}} | |||
|
| {{User Awesome}} | |||
| {{User Likes Bing}} | |||
|
| {{User Likes Dellorto}} | |||
| {{User Puch Like Book}} | |||
| {{User Puch Like Spook}} | |||
| {{User More Work}} | |||
| {{User More No Work}} |
| MopedWiki Help Pages |
| Introduction • Searching • Basic Editing • Editing (longer) • Links • Categories Images • Tables • Templates • Userboxes • Reverting • Stubs • Rainy Day Edits |