Template:Userbox: Difference between revisions

From Pikmin Fanon
m (Oops.)
 
Line 6: Line 6:


{{clear}}
{{clear}}
{{todo|Edit the code to involve <code><nowiki>link=</nowiki></code> so that displayed images can not be clicked on.}}
{{todo|
*Edit the code to involve <code><nowiki>link=</nowiki></code> so that displayed images can not be clicked on.
*Make the template able to be even more customizable, like {{t|box}}.}}


==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}}.



Latest revision as of 19:10, 25 May 2022

{{{code}}}
To do:
  • Edit the code to involve link= so that displayed images can not be clicked on.
  • Make the template able to be even more customizable, like {{box}}.

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
}}
Wiki.png Fanon!