Template:Userboxtop: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
Gingerfool (talk | contribs) mNo edit summary |
Gingerfool (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{|name="userboxes" id="userboxes" style="float:{{{2|{{{align|right}}}}}};font-size:0. | {|name="userboxes" id="userboxes" style="float:{{{2|{{{align|right}}}}}};font-size:0.01em;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: | !style="font-size:120em"|{{{1|{{{toptext|[[w:Wikipedia:Userboxes|Userboxes]]}}}}}} | ||
|-align="center" | |-align="center" | ||
|<noinclude> | |<noinclude> | ||
{{userboxbottom}} | {{userboxbottom}} | ||
<br> | |||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
[[Category:Userboxes]] |
Latest revision as of 10:38, 16 June 2024
Userboxes |
---|
Instructions for {{Userboxtop}}
== Purpose ==
To collect userboxes into a single column grouping easily.
Usage[[edit source]]
{{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[[edit source]]
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[[edit source]]
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.