Template:Userbox: Difference between revisions

Template page
w:c:strategywiki>DJH47
No edit summary
m (10 revisions imported)
 
(7 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|style="background-color:{{{1}}}; width: 2.5em; text-align: center; font-weight: bold; font-size: 1.75em;"|{{{2}}}||style="font-size: 1.15em;"|{{{3}}}
|style="background-color:{{{1}}}; width: 2.5em; text-align: center; font-weight: bold; font-size: 1.75em;"|{{{2}}}||style="font-size: 1.15em;"|{{{3}}}
|}
|}
<noinclude>
The ubiquitous userbox.
<pre>{{userbox|background color|[[File:imagename.jpg]]|text}}</pre>
*''1st parameter'' (optional): Sets the background color of the userbox. Default is white.
*''2nd parameter'': Image link.
*''3rd parameter'': Userbox text.
[[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.