Difference between revisions of "Template:Userbox"

From CWCki
Jump to navigation Jump to search
m (Undo revision 94088 by Anonymax (Talk))
m
 
(2 intermediate revisions by one other user not shown)
Line 14: Line 14:
* '''id''' - the stuff that appears in the left box.
* '''id''' - the stuff that appears in the left box.
* '''info''' - the stuff that appears in the right box.
* '''info''' - the stuff that appears in the right box.
* Box colours:
* Box colors:
** box-border-col
** box-border-col
** box-bg-col
** box-bg-col
* Left side colours and sizes:
* Left side colors and sizes:
** id-border-col
** id-border-col
** id-bg-col
** id-bg-col
** id-col
** id-col
** id-size
** id-size
* Right side colours and sizes:
* Right side colors and sizes:
** info-border-col
** info-border-col
** info-bg-col
** info-bg-col

Latest revision as of 12:47, 30 November 2010

ID Box text

Usage

These usage notes will not be included in articles bearing this template.

This template is for use when creating new userbox templates. It helps keep all userboxes consistent in both style and size. This template should not be substituted.

Example

{{userbox
|id= [[Image:MedalOfMerit.jpg|20px|Medal of Merit]]
|id-bg-col= #fff
|info= '''Medal of Merit''': This user has done tremendous service to CWCki and deserves recognition as such.}}

Produces:

Medal of Merit Medal of Merit: This user has done tremendous service to CWCki and deserves recognition as such.

Parameters

  • id - the stuff that appears in the left box.
  • info - the stuff that appears in the right box.
  • Box colors:
    • box-border-col
    • box-bg-col
  • Left side colors and sizes:
    • id-border-col
    • id-bg-col
    • id-col
    • id-size
  • Right side colors and sizes:
    • info-border-col
    • info-bg-col
    • info-col
    • info-size