Userbox usage

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (Usage examples: => == Template usage examples ==)
(Copy-and-paste template: add doc include)
Line 76: Line 76:
|category = [[Category:]]
|category = [[Category:]]
}}
}}
 +
<noinclude>
 +
{{documentation}}
 +
</noinclude>
</pre></div>
</pre></div>

Revision as of 11:00, 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:]]
}}
<noinclude>
{{documentation}}
</noinclude>
Personal tools
language