Userbox usage

From MeritBadgeDotOrg

(Difference between revisions)
Jump to: navigation, search
m (Usage examples: => == Template usage examples ==)
Current revision (20:36, March 29, 2008) (edit) (undo)
m (Copy-and-paste template: fix this time, really)
 
(5 intermediate revisions not shown.)
Line 1: Line 1:
== Template usage examples ==
== Template usage examples ==
-
{|
+
===Example 1===
-
|The following code:
+
The following code:
<pre>
<pre>
{{Userbox
{{Userbox
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]]
}}
}}
-
|| &nbsp;
+
{{clear}}
-
||The following code:
+
 
 +
===Example 2===
 +
The following code:
<pre>
<pre>
{{Userbox
{{Userbox
-
|text = This user has been awarded the <br/> '''<span style="color:#1874CD;">Silver Beaver</span>'''.
+
|text = This user has been awarded the <br/>'''Silver Beaver'''.
|textsize = 8
|textsize = 8
|textcolor = #E5E5E5
|textcolor = #E5E5E5
Line 49: Line 51:
Will produce:
Will produce:
{{Userbox
{{Userbox
-
|text = This user has been awarded the <br/> '''<span style="color:#1874CD;">Silver Beaver</span>'''.
+
|text = This user has been awarded the <br/>'''<span style="color:#1874CD;">Silver Beaver</span>'''.
|textsize = 8
|textsize = 8
|textcolor = #E5E5E5
|textcolor = #E5E5E5
Line 60: Line 62:
|category = [[Category:Silver Beaver Users]]
|category = [[Category:Silver Beaver Users]]
}}
}}
-
|}
+
{{clear}}
== Copy-and-paste template==
== Copy-and-paste template==
Line 76: Line 78:
|category = [[Category:]]
|category = [[Category:]]
}}
}}
 +
<nowiki><noinclude></nowiki>
 +
{{documentation}}
 +
<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