Template:Userbox: Difference between revisions
From Pikmin Fanon
(Updated.) |
(→Info) |
||
Line 9: | Line 9: | ||
==Info== | ==Info== | ||
{{todo|Make the template able to be even more customizable, like {{t|box}}.}} | |||
This is the base template for all [[:Category:Userbox templates|userboxes]]. It places a customizable userbox, to be used on user pages only, and between {{t|userboxtop}} and {{t|userboxbottom}}. | This is the base template for all [[:Category:Userbox templates|userboxes]]. It places a customizable userbox, to be used on user pages only, and between {{t|userboxtop}} and {{t|userboxbottom}}. | ||
Revision as of 19:09, 25 May 2022
{{{code}}} | {{{msg}}} |
link= so that displayed images can not be clicked on. |
Info
|
This is the base template for all userboxes. It places a customizable userbox, to be used on user pages only, and between {{userboxtop}} and {{userboxbottom}}.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
border | No | Black | Border color. |
codebkgd | No | Transparent | The color to be displayed on the left side. |
mainbkgd | No | Transparent | The color to be displayed on the right side. |
code | No | Transparent | The value, usually an image link, to be displayed on the left side. |
msg | No | Transparent | The value to be displayed on the right side. |
codecolor | No | Transparent | The color of what is to be displayed on the left. Does not affect images. |
msgcolor | No | Black | The color of the message. |
Skeleton
{{userbox |border= |codebkgd= |mainbkgd= |code= |msg= |codecolor= |msgcolor= }}
Examples
Code | Result |
---|---|
{{userbox |border=blue |codebkgd=pink |mainbkgd=red |code=[[File:Wiki.png|50px]] Fanon! |msg=This is an example userbox. |codecolor=green |msgcolor=yellow }} |