Template:Userbox: Difference between revisions

Template page
w:c:strategywiki>DJH47
No edit summary
m (10 revisions imported)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{|style="border: 2px dotted #000; height: 5em; width: 16em;"
{|style="border: 2px dotted #000; height: 5em; width: 16em;"
|style="background-color:{{{1}}}; width: 2.5em; text-align: center; font-size: 2em;"|{{{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.