Wiki.jonathancoulton.com:Userboxes

From JoCopedia
Jump to navigation Jump to search
This page is currently under construction!

JoCopedia is currently in the process of incorporating userboxes as an added feature for customizing userpages. Some of the layout is borrowed graciously from TMBW.net. Sets of userboxes should have the userbox top as a heading. The templates are entered in the following order:

  • {{userbox top}}
  • userbox template(s) (as many as desired)
  • |}

Note that the closing statement (|}) is only entered once, after the entire string of userboxes. (See example below.)

Standard userboxes[edit]

The following userboxes can be entered using simple templates listed alongside the corresponding box. Text in italics should be replaced with the appropriate value. Links will be created automatically.

JoCopedia-related[edit]

CTB This user has made the following contributions.
{{Userbox:Contributions}}
ADM This user is a JoCopedia administrator.
{{Userbox:Administrator}}
MOD This user is a JoCopedia moderator.
{{Userbox:Moderator}}


JoCo-related[edit]

JC Jonathan Coulton is this user's favorite musician.
{{Userbox:JoCo Fav}}
FAV This user's favorite JoCo song is "Code Monkey".
{{Userbox:Fav Song|Your favorite song|Display title [optional]}}
LYR This user's favorite JoCo lyric is "You just keep on trying till you run out of cake".
{{Userbox:Fav Song|Song name (including anything in parenthesis)|Lyric}}


Custom userboxes[edit]

It is also possible to create your own userbox using the userbox template. More standard userboxes will be created in the future. You must fill in the values for each parameter, and enter the box as you would a standard userbox. Colors can be entered as simple color names, hexadecimal values (# must be included), or RGB values. The contents of the box on the left can be three or fewer capital letters, four or fewer lowercase letters, or a 45-pixel wide image (please use images already uploaded to the wiki or externally hosted images for the time being).

Sample layout[edit]

The following markup:

{{userbox top}}

{{Userbox
|border= #000

|boxtext= MAN
|boxtextcolor= #fff
|boxbackground= #000

|message= this is a userbox
|messagebackground= #fff
}}

{{Userbox:Contributions}}

{{Userbox
|border= #000

|boxtext= OH
|boxtextcolor= #fff
|boxbackground= #000

|message= this is another
|messagebackground= #fff
}}

|}
JoCopedia Userboxes
MAN this is a userbox
CTB This user has made the following contributions.
OH this is another

...would yield the set of userboxes appearing alongside this text. The main text of a userpage should be entered below the markup for userboxes.