Help:Userboxes

From Moped Wiki
Jump to: navigation, search

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:

  1. Userboxes should ONLY be included on userpages. Do not put them in articles.
  2. 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}}

ID 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}}

Content ID


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}}
Note: If omitted, border colour and side-box 2 colour default to the same colour as side-box 1, and font colour is black. Default border thickness is 1.

ID 1 Content ID 2


Gallery

A gallery of the userboxes on the Moped Wiki.

Box Text
(copy and paste this into your userpage to add this box)
Puch logo.png
This user rides a Puch moped



{{User Puch}}
Motobecane logo 6.jpg
This user rides a Motobecane moped



{{User Motobecane}}
Kromaglogo.jpg
This user owns at least one Kromag-made moped



{{User Kromag}}
noped
This user rides a pedal-less moped
mopeg



{{User Noped}}
D
This user is a dude



{{User Dude}}
LD
Dude, this user is a ladydude



{{User Ladydude}}
Awesome picture.JPG
This user is made of awesome



{{User Awesome}}
BING!
This user likes Bing carburetors
(so bugger off already,
you Bing haters)



{{User Likes Bing}}
DELLORTO!
BING
This user thinks Dellortos are better
than Bings



{{User Likes Dellorto}}
BOOK
This user pronounces Puch like "BOOK"



{{User Puch Like Book}}
SPOOK
This user pronounces Puch like "SPOOK"



{{User Puch Like Spook}}
This user has more mopeds
that do work
than mopeds that don't work
>



{{User More Work}}
This user has more mopeds
that don't work
than mopeds that do work
<



{{User More No Work}}


MopedWiki Help Pages
IntroductionSearchingBasic EditingEditing (longer)LinksCategories
ImagesTablesTemplatesUserboxesRevertingStubsRainy Day Edits