Template:Userbox: Difference between revisions

Template page
w:c:strategywiki>Najzere
(adding usage)
m (10 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
The ubiquitous userbox.
The ubiquitous userbox.


<pre>{{userbox|background color|[[Image:imagename.jpg]]|text}}</pre>
<pre>{{userbox|background color|[[File: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>

Latest revision as of 18:22, 28 October 2023

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


The ubiquitous userbox.

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