Userbox usage

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
(Template usage examples: break two examples into two lines)
Current revision (20:36, March 29, 2008) (edit) (undo)
m (Copy-and-paste template: fix this time, really)
 
(3 intermediate revisions not shown.)
Line 12: Line 12:
|rightbgcolor = silver
|rightbgcolor = silver
|framecolor = darkblue
|framecolor = darkblue
-
|framewidth = 3
+
|framewidth = 2
|category = [[Category:Cubmasters]]
|category = [[Category:Cubmasters]]
}}
}}
Line 27: Line 27:
|rightbgcolor = silver
|rightbgcolor = silver
|framecolor = darkblue
|framecolor = darkblue
-
|framewidth = 3
+
|framewidth = 2
|category = [[Category:Cubmasters]]
|category = [[Category:Cubmasters]]
}}
}}
Line 62: Line 62:
|category = [[Category:Silver Beaver Users]]
|category = [[Category:Silver Beaver Users]]
}}
}}
 +
{{clear}}
== Copy-and-paste template==
== Copy-and-paste template==
Line 77: Line 78:
|category = [[Category:]]
|category = [[Category:]]
}}
}}
-
<noinclude>
+
<nowiki><noinclude></nowiki>
{{documentation}}
{{documentation}}
-
</noinclude>
+
<nowiki></noinclude></nowiki>
</pre></div>
</pre></div>

Current revision

Contents

Template usage examples

Example 1

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 = 2
|category  = [[Category:Cubmasters]]
}}

Will produce:

This user is a
Cubmaster.

Example 2

The following code:

{{Userbox 
|text = This user has been awarded the <br/>'''Silver Beaver'''.
|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