Userbox usage
From MeritBadgeDotOrg
(Difference between revisions)
m (unhide text hidden by noinclude) |
m (→Copy-and-paste template: fix this time, really) |
||
| Line 65: | Line 65: | ||
== Copy-and-paste template== | == Copy-and-paste template== | ||
| - | <div style="width:350px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em" | + | <div style="width:350px;background:#dddddd;border: 1px solid black;padding:0.5em 1em 0.5em 1em"><pre> |
{{Userbox | {{Userbox | ||
|text = | |text = | ||
| Line 78: | Line 78: | ||
|category = [[Category:]] | |category = [[Category:]] | ||
}} | }} | ||
| - | <noinclude> | + | <nowiki><noinclude></nowiki> |
{{documentation}} | {{documentation}} | ||
| - | </noinclude> | + | <nowiki></noinclude></nowiki> |
| - | </ | + | </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:
Copy-and-paste template
{{Userbox
|text =
|textsize =
|textcolor = #
|image =
|imagesize =
|leftbgcolor = #
|rightbgcolor = #
|framecolor = #
|framewidth =
|category = [[Category:]]
}}
<noinclude>
{{documentation}}
</noinclude>

