Template:Userboxes

From Hytale Wiki
Revision as of 20:05, 18 November 2022 by Kweebec (talk | contribs) (Created page with "{|class="userboxes" style="margin-left: {{{left|1}}}em; margin-bottom: 0.5em; width: {{#expr:{{{columns|1}}}*242+8}}px; border: {{{bordercolor|#99B3FF}}} solid 1px; background-color: {{{backgroundcolor|#FFFFFF}}}; color: {{{textcolor|#000000}}}; float: {{{2|{{{align|right}}}}}}; {{{extra-css|}}}" |<div style="text-align: center; font-size: 120%; font-weight: bold;">{{{1|{{{toptext|Userboxes}}}}}}</div><noinclude> |} ==Purpose== To collect images...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

To collect 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 an article.

Usage

If you want the basic userbox design (which takes up little code space) simply use:

{{Userboxes}}Insert userboxes here{{Userboxesend}}

To change the design, use this longer code version, and change the info after the = signs:

{{Userboxes
| align           = Alignment (left or right). Default is right.
| left            = Any left margin value. Default is 1.
| backgroundcolor = Any web color (name or #XXXXXX hex format). Default is #FFFFFF.
| bordercolor     = Any web color (name or #XXXXXX hex format). Default is #99B3FF.
| extra-css       = Allows you to provide additional CSS style information.
| textcolor       = Any web color (name or #XXXXXX hex format). Default is #000000.
| toptext         = Changes the standard Userbox text and link. Can include wiki-markup.
| columns         = Number of columns (default is 1).
}}

Userboxes go here

{{userboxesend}}