Changes

From Wazeopedia

Template:Userboxtop/doc

67 bytes added, 2 years ago
m
updated category
{{doc subpage}}
<!-- ADD DOCUMENTATION BELOW THIS LINE -->
==Purpose==This template can be used to collect collects images or userboxes into a single column grouping easily. This template is not just for userboxes; it is also an efficient way of creating a column of images to run along the side of a page.
=== Usage === <pre>{{ userboxtop| toptext = | align = | left =
| backgroundcolor =
| bordercolor = | extra-css =| textcolor = | toptext =
}}
{{userboxname1}}{{userboxname2}}{{userboxname3}}{{userboxname4}}{{...etc}}}[userboxes]
{{userboxbottom}}</pre>
=== Parameters ===All of the parameters are '''optional'''.
===Customizing===Detailed explanations of the parameters are below. All of the parameters are optional.
{| class="wikitable"
! Parameter
! Valid values
|-
| <code>toptext</code>
| (or the first positional parameter) Overrides the standard "'''[[Wikipedia:Userboxes|Userboxes]]'''" text and link. Can include wiki-markup.
|-
| <code>align</code>
|-
| <code>backgroundcolor</code>
| Any [[Web colors|http://en.wikipedia.org/wiki/Web_colors web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#FFFFFF</tt>.
|-
| <code>bordercolor</code>
| Any [[Web colors|http://en.wikipedia.org/wiki/Web_colors web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#99B3FF</tt>.
|-
| <code>extra-css</code>
| Allows you to provide additional [[Cascading Style Sheets|http://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS]] style information.
|-
| <code>textcolor</code>
| Any [[Web colors|http://en.wikipedia.org/wiki/Web_colors web color]] (name or <tt>#XXXXXX</tt> hex format). Defaults to <tt>#000000</tt>.|-| <code>toptext</code>| Overrides the standard [[Wikibooks:Userboxes|Userbox]] text and link. Can include wiki-markup.
|}
You may also insert breaks by using {{tl|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, [[Special:MyPage/vector.css|vector.css]] for the Vector skin) and add the following:
<code><nowiki>table.userboxes { display: none; }</nowiki></code>
== Redirects ==* {{tl|Userboxtop}}* {{tl|Boxboxtop}}* {{tl|Boxtop}}* {{tl|User box top}}* {{tl|Userbox top}} == See also ===* {{tl|[[Template:Userboxbreak}}* {{tl|Userboxbottom}}]]* {{tl|Userboxside}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||<!-- Categories go here and interwikis go in Wikidata. -->[[CategoryTemplate:User namespace templatesUserboxbottom]]}}</includeonly> 
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:User namespace templates]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
9,305
edits