Revision as of 17:40, 17 March 2006 view sourceIlmari Karonen (talk | contribs)Extended confirmed users14,453 editsm simplify instructions using Special:Mypage/monobook.css← Previous edit | Revision as of 07:27, 2 April 2006 view source Locke Cole (talk | contribs)Extended confirmed users, File movers, Pending changes reviewers, Rollbackers18,900 edits expand docs, add textcolor parameterNext edit → | ||
Line 1: | Line 1: | ||
{|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}" | {|name="userboxes" id="userboxes" style="margin-left: 1em; margin-bottom: 0.5em; width: 242px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; {{{extra-css|}}}" align="{{{2|{{{align|right}}}}}}" | ||
!<big>{{{1|{{{toptext|]}}}}}}</big> | !<big>{{{1|{{{toptext|]}}}}}}</big> | ||
|- align="center" | |- align="center" | ||
Line 9: | Line 9: | ||
==Usage== | ==Usage== | ||
<pre><nowiki>{{userboxtop | <pre><nowiki>{{userboxtop | ||
⚫ | | bordercolor = | ||
⚫ | | backgroundcolor |
||
| align = | | align = | ||
| |
| backgroundcolor = | ||
⚫ | | bordercolor = | ||
| extra-css = | | extra-css = | ||
| textcolor = | |||
| toptext = | |||
}} | }} | ||
Line 22: | Line 23: | ||
All of the parameters are '''optional'''. | All of the parameters are '''optional'''. | ||
===Customizing=== | |||
⚫ | You may insert breaks by using {{tl|userboxbreak}}. See that template for details. | ||
Detailed explanations of the parameters are below. | |||
{| class="wikitable" | |||
|- | |||
! Parameter | |||
! Valid values | |||
|- | |||
| <code>align</code> | |||
| <code>left</code>, <code>center</code>, or <code>right</code> (default) | |||
|- | |||
⚫ | | <code>backgroundcolor</code> | ||
| Any HTML color (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#FFFFFF</tt>. | |||
|- | |||
| <code>bordercolor</code> | |||
| Any HTML color (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#99B3FF</tt>. | |||
|- | |||
| <code>extra-css</code> | |||
| Allows you to provide additional ] style information. | |||
|- | |||
| <code>textcolor</code> | |||
| Any HTML color (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#000000</tt>. | |||
|- | |||
| <code>toptext</code> | |||
| Overrides the standard ] text and link. Can include wiki-markup. | |||
|} | |||
⚫ | You may also insert breaks by using {{tl|userboxbreak}}. See that template for details. | ||
==Hiding userboxes== | ==Hiding userboxes== |
Revision as of 07:27, 2 April 2006
Userbox |
---|
Purpose
To collect userboxes into a single column grouping easily.
Usage
{{userboxtop | align = | backgroundcolor = | bordercolor = | extra-css = | textcolor = | toptext = }} {{userboxbottom}}
All of the parameters are optional.
Customizing
Detailed explanations of the parameters are below.
Parameter | Valid values |
---|---|
align
|
left , center , or right (default)
|
backgroundcolor
|
Any HTML color (name or #XXXXXX hex format). Defaults to #FFFFFF. |
bordercolor
|
Any HTML color (name or #XXXXXX hex format). Defaults to #99B3FF. |
extra-css
|
Allows you to provide additional CSS style information. |
textcolor
|
Any HTML color (name or #XXXXXX hex format). Defaults to #000000. |
toptext
|
Overrides the standard Userbox text and link. Can include wiki-markup. |
You may also insert breaks by using {{userboxbreak}}. See that template for details.
Hiding userboxes
You can hide userboxes which utilize this (as well as a few other) forms of template-based userbox organization. Simply edit your userspace CSS override (for example, monobook.css for the Monobook skin) and add the following–
#userboxes { display: none; }