Userbox usage

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
(Usage: add second example)
m (Usage examples: => == Template usage examples ==)
Line 1: Line 1:
-
== Usage examples ==
+
== Template usage examples ==
{|
{|
|The following code:
|The following code:

Revision as of 07:12, March 27, 2008

Template usage examples

The following code:
{{Userbox
|text = This user is a <br>'''[[Cubmaster]]'''.
|textsize = 10
|textcolor = black
|image = Cubmaster_small.gif
|imagesize = 50
|leftbgcolor = white
|rightbgcolor = silver
|framecolor = darkblue
|framewidth = 3
|category  = [[Category:Cubmasters]]
}}

Will produce:

This user is a
Cubmaster.
  The following code:
{{Userbox 
|text = This user has been awarded the <br/> '''<span style="color:#1874CD;">Silver Beaver</span>'''.
|textsize = 8
|textcolor = #E5E5E5
|image = Knotbeaver.jpg
|imagesize = 115
|leftbgcolor = #D2B48C
|rightbgcolor = #D2B48C
|framecolor = #CDAA7D 
|framewidth = 2
|category  = [[Category:Silver Beaver Users]]
}}

Will produce:

This user has been awarded the
Silver Beaver.

Copy-and-paste template

{{Userbox 
|text = 
|textsize = 
|textcolor = #
|image = 
|imagesize = 
|leftbgcolor = #
|rightbgcolor = #
|framecolor = #
|framewidth = 
|category  = [[Category:]]
}}
Personal tools
language