Template:Userboxtop: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|name="userboxes" id="userboxes" style="float:{{{2|{{{align|right}}}}}};font-size:0.1em;margin:1ex;margin-top:0;margin-{{{2|{{{align|right}}}}}}:0;background:{{{backgroundcolor|#FFF}}};border:{{{bordercolor|#9BF}}} solid 1px;width:241px;{{{extra-css|}}}"
{|name="userboxes" id="userboxes" style="float:{{{2|{{{align|right}}}}}};font-size:0.1em;margin:1ex;margin-top:0;margin-{{{2|{{{align|right}}}}}}:0;background:{{{backgroundcolor|#fffff}}};border:{{{bordercolor|#fffff}}} solid 1px;width:241px;{{{extra-css|}}}"
!style="font-size:12em"|{{{1|{{{toptext|[[w:Wikipedia:Userboxes|Userboxes]]}}}}}}
!style="font-size:12em"|{{{1|{{{toptext|[[w:Wikipedia:Userboxes|Userboxes]]}}}}}}
|-align="center"
|-align="center"

Revision as of 07:26, 7 May 2024

Userboxes


Instructions for {{Userboxtop}}
== Purpose ==

To collect userboxes into a single column grouping easily.

Usage

{{userboxtop
 | bordercolor = <!--border color (default=clear)-->
 | backgroundcolor = <!--background color (default=clear)-->
 | align = <!--horizontal alignment left/center/right/justify (default=right)-->
 | toptext = <!--userbox group title text-->
 | extra-css = <!--other css parameters-->
}}
<!-- {{user boxes}} -->
{{userboxbottom}}

All of the parameters are optional.

You may 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 overrideand add the following: #userboxes { display: none; }

Gap Customisation

In the source code, there is a part that says "0.1em". This controls the gap between boxes. If you'd like to change this, copy the template to your user space and change this line, then change the header "em" (Currently at "12em") so that they multiply to 1.2.


See also