Difference between revisions of "Wiki.jonathancoulton.com:Userboxes"

From JoCopedia
Jump to navigation Jump to search
(category)
m (changing link)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{under Construction}}
 
{{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:|TMBW.net]]. Standard userboxes are being created, but in the meantime, it is possible to create your own using the [[Template:Userbox top]] and [[Template:Userbox|template]]. The templates should be entered in the following order:
+
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:|TMBW.net]]. Sets of userboxes should have the [[Template:Userbox top|userbox top]] as a heading. The templates are entered in the following order:
 
*<code><nowiki>{{userbox top}}</nowiki></code>
 
*<code><nowiki>{{userbox top}}</nowiki></code>
*<code><nowiki>{{userbox}}</nowiki></code> (as many as desired)
+
*userbox template(s) (as many as desired)
 
*<code><nowiki>|}</nowiki></code>
 
*<code><nowiki>|}</nowiki></code>
  
For 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__
 +
== Standard userboxes ==
 +
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 ===
 +
<div class="babel"><div class="babelexample">{{Userbox:Contributions}}</div> <nowiki>{{Userbox:Contributions}}</nowiki></div>
 +
 +
<div class="babel"><div class="babelexample">{{Userbox:Administrator}}</div> <nowiki>{{Userbox:Administrator}}</nowiki></div>
 +
 +
<div class="babel"><div class="babelexample">{{Userbox:Moderator}}</div> <nowiki>{{Userbox:Moderator}}</nowiki></div>
 +
 +
 +
=== JoCo-related ===
 +
 +
<div class="babel"><div class="babelexample">{{Userbox:JoCo Fav}}</div> <nowiki>{{Userbox:JoCo Fav}}</nowiki></div>
 +
 +
<div class="babel"><div class="babelexample">{{Userbox:Fav Song|Code Monkey}}</div> <nowiki>{{Userbox:Fav Song|</nowiki>''Your favorite song''{{!}}''Display title'' [optional]<nowiki>}}</nowiki></div>
 +
 +
<div class="babel"><div class="babelexample">{{Userbox:Fav Lyric|Still Alive|You just keep on trying till you run out of cake}}</div> <nowiki>{{Userbox:Fav Song|</nowiki>''Song name (including anything in parenthesis)''{{!}}''Lyric''<nowiki>}}</nowiki></div>
 +
 +
 +
== 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. 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 20: Line 46:
 
|messagebackground= #fff
 
|messagebackground= #fff
 
}}
 
}}
 +
 +
{{Userbox:Contributions}}
  
 
{{Userbox
 
{{Userbox
Line 46: Line 74:
 
|messagebackground= #fff
 
|messagebackground= #fff
 
}}
 
}}
 +
 +
{{Userbox:Contributions}}
  
 
{{Userbox
 
{{Userbox
Line 60: Line 90:
 
|}
 
|}
 
   
 
   
would yield the set of userboxes appearing alongside this page. 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 externally hosted images for the time being). Note that the closing statement (<code><nowiki>|}</nowiki></code>) is only entered once, after the entire string of 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.  
  
 
[[Category:Userboxes]]
 
[[Category:Userboxes]]

Latest revision as of 23:11, 13 November 2012

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.