Template:Userbox: Difference between revisions

Template page
w:c:strategywiki>Najzere
(adding usage)
w:c:strategywiki>Najzere
m (simpler explanation)
Line 8: Line 8:
<pre>{{userbox|background color|[[Image:imagename.jpg]]|text}}</pre>
<pre>{{userbox|background color|[[Image:imagename.jpg]]|text}}</pre>


*''1st parameter'' (optional): You can use [http://www.somacon.com/p142.php CSS color codes] or hexidecimal color codes with a "#" prefix. Default is white.
*''1st parameter'' (optional): Sets the background color of the userbox. Default is white.
*''2nd parameter'': Image link.
*''2nd parameter'': Image link.
*''3rd parameter'': Userbox text.
*''3rd parameter'': Userbox text.


[[Category:Templates|U]]</noinclude>
[[Category:Templates|U]]</noinclude>

Revision as of 20:39, 4 March 2009

{{{2}}} {{{3}}}


The ubiquitous userbox.

{{userbox|background color|[[Image:imagename.jpg]]|text}}
  • 1st parameter (optional): Sets the background color of the userbox. Default is white.
  • 2nd parameter: Image link.
  • 3rd parameter: Userbox text.