Template:Wpuserbox: Difference between revisions

Template page
w:c:strategywiki>Najzere
m (simplifying)
m (6 revisions imported: Imported from https://strategywiki.org/)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
A wikipedia-style userbox. The first three parameters are unnamed, and only the second and third are mandatory. To omit the first parameter, use a blank field:
A wikipedia-style userbox. The first three parameters are unnamed, and only the second and third are mandatory. To omit the first parameter, use a blank field:


<pre>{{wpuserbox||[[Image:imagename.jpg]]|userbox text}}</pre>
<pre>{{wpuserbox||[[File:imagename.jpg]]|userbox text}}</pre>


==Usage==
==Usage==
Line 12: Line 12:
<pre>{{wpuserbox
<pre>{{wpuserbox
|left side background color (Default is white.)
|left side background color (Default is white.)
|left side [[Image:imagename.jpg]] or short text
|left side [[File:imagename.jpg]] or short text
|right side text
|right side text
|border-c=userbox border color (Default is black.)
|border-c=userbox border color (Default is black.)

Latest revision as of 18:28, 28 October 2023

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

A wikipedia-style userbox. The first three parameters are unnamed, and only the second and third are mandatory. To omit the first parameter, use a blank field:

{{wpuserbox||[[File:imagename.jpg]]|userbox text}}

Usage[edit source]

{{wpuserbox
|left side background color (Default is white.)
|left side [[File:imagename.jpg]] or short text
|right side text
|border-c=userbox border color (Default is black.)
|id-s=left side text size (Default is 14px.)
|id-fc=left side text color (Default is black.)
|info-s=right side text size (Default is 8px.)
|info-fc=right side text color (Default is black.)
}}