Difference between revisions of "Wiki.jonathancoulton.com:Userboxes"
(fav lyric/organization) |
m (changing link) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
*<code><nowiki>|}</nowiki></code> | *<code><nowiki>|}</nowiki></code> | ||
− | Note that the closing statement (<code><nowiki>|}</nowiki></code>) is only entered once, after the entire string of userboxes. (See example [[# | + | Note that the closing statement (<code><nowiki>|}</nowiki></code>) is only entered once, after the entire string of userboxes. (See example [[#Sample layout|below]].) |
__TOC__ | __TOC__ | ||
Line 29: | Line 29: | ||
== Custom userboxes == | == Custom userboxes == | ||
− | It is also possible to create your own userbox using the [[Template:Userbox|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. | + | It is also possible to create your own userbox using the [[Template:Userbox|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 == | ||
+ | The following markup: | ||
<pre> | <pre> | ||
{{userbox top}} | {{userbox top}} | ||
Line 46: | Line 46: | ||
|messagebackground= #fff | |messagebackground= #fff | ||
}} | }} | ||
+ | |||
+ | {{Userbox:Contributions}} | ||
{{Userbox | {{Userbox | ||
Line 72: | Line 74: | ||
|messagebackground= #fff | |messagebackground= #fff | ||
}} | }} | ||
+ | |||
+ | {{Userbox:Contributions}} | ||
{{Userbox | {{Userbox | ||
Line 86: | Line 90: | ||
|} | |} | ||
− | + | ...would yield the set of userboxes appearing alongside this text. The main text of a userpage should be entered below the markup for userboxes. | |
[[Category:Userboxes]] | [[Category:Userboxes]] |
Latest revision as of 23:11, 13 November 2012
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.)
Contents
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.
[edit]
CTB | This user has made the following contributions. |
ADM | This user is a JoCopedia administrator. |
MOD | This user is a JoCopedia moderator. |
[edit]
JC | Jonathan Coulton is this user's favorite musician. |
FAV | This user's favorite JoCo song is "Code Monkey". |
LYR | This user's favorite JoCo lyric is "You just keep on trying till you run out of cake". |
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 | ||||||
|
...would yield the set of userboxes appearing alongside this text. The main text of a userpage should be entered below the markup for userboxes.