Template:Userbox/doc

From MiiWiki
< Template:Userbox
Revision as of 13:37, 16 February 2022 by Kirb (talk | contribs) (Created page with "==Usage== <pre> {{Userbox-r |color = color of the userbox; defaults to #dedede |border-color = color of the box's border; defaults to black |border-width = width of the border; defaults to 2px |image = image in the box (required) |text = text in the box (required) |text-color = color of the text; defaults to black }} </pre> ===Container=== This template goes before the userboxes, and contains them. <pre> {{Userbox-r container |color = co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Usage

{{Userbox-r
|color = color of the userbox; defaults to #dedede
|border-color = color of the box's border; defaults to black
|border-width = width of the border; defaults to 2px
|image = image in the box (required)
|text = text in the box (required)
|text-color = color of the text; defaults to black
}}

Container

This template goes before the userboxes, and contains them.

{{Userbox-r container
|color = color of the container; defaults to #dedede
|shadow = shadow around the container; defaults to the container color
|align = alignment of the container; defaults to right, but can be set to left
|title = title for userbox container (optional)
}}

Ending

Place {{Userbox-r container bottom}} (this template) at the end of the userboxes to end it.