Template:Userbox: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Cleanup)
m (10 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="border: 2px dotted #000000; height: 5em; width: 16em;">
{|style="border: 2px dotted #000; height: 5em; width: 16em;"
<p style="background-color: {{{1}}}; width: 2.5em; text-align: center; font-weight: bold; font-size: 1.75em;">{{{2}}}</p>
|style="background-color:{{{1}}}; width: 2.5em; text-align: center; font-weight: bold; font-size: 1.75em;"|{{{2}}}||style="font-size: 1.15em;"|{{{3}}}
<p style="font-size: 1.15em;">{{{3}}}</p>
|}
</div><noinclude>
<noinclude>


The ubiquitous userbox.
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>
[[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.