If you are looking for Information about PSU Clementine, Go check their Wiki

Difference between revisions of "Category:Userbox templates"

From The re-PSUPedia
Jump to: navigation, search
(added instructions for using the templates)
m (added to templates category)
 
Line 127: Line 127:
 
|}
 
|}
  
[[category:Userboxes | Templates]]
+
[[category:Userboxes | Templates]][[category:templates |userbox templates]]

Latest revision as of 14:15, 23 December 2006

Here are some template to help users make boxes more easily.

How to construct the box

There are a number of box types to select from when deciding to make a userbox. The most commonly used design is the "Standard box". It has one square shaped area on the left ("id") and a rectangular area on the right ("info").

For ease of use, userboxes are made using maker-templates that have a number of parameters. Once the maker-template is saved, it is automatically transformed to HTML.

Template Parameters Meaning Value type
border-c The border colour of the userbox CSS color value, #hex or colour name)
border-s The border size of the userbox Width in pixels
id-c The background colour of the id box CSS colour value
id-s The font size of the id box Size in Point
id-fc The font colour of the id box text CSS colour value
info-c The background colour of info box CSS colour value
info-s The font size of info box Size in PostScript points
info-fc The font colour of info box CSS colour value
id This is the content of the id box Text
info This is the content of info box Text

Userbox types

Code Appearance
Standard box
{{Userbox
  |border-c = #000
  |border-s = 1
  |id-c     = #fff
  |id-s     = 12
  |id-fc    = #000
  |info-c   = #039
  |info-s   = 8
  |info-fc  = #fff
  |id       = ID
  |info     = info box content
}}
</tt>

or {{Userbox|side-box colour|main box colour|side-box content|main box content}}

ID info box content
Reverse box
{{Userbox-r
  |border-c = #000
  |border-s = 1
  |id-c     = #fff
  |id-s     = 12
  |id-fc    = #000
  |info-c   = #039
  |info-s   = 8
  |info-fc  = #fff
  |id       = ID
  |info     = info box content
}}

or {{Userbox-r|side-box colour|main box colour|side-box content|main box content}}

info box content ID
Double box
{{Userbox-2
  |border-c = #000
  |border-s = 1
  |id1-c    = #fff
  |id1-s    = 12
  |id1-fc   = #000
  |id2-c    = #000
  |id2-s    = 12
  |id2-fc   = #fff
  |info-c   = #039
  |info-s   = 8
  |info-fc  = #fff
  |id1      = ID 1
  |id2      = ID 2
  |info     = info box content
}}

or {{Userbox-2|side-box 1 colour|main box colour|side-box 1 content|message|side-box 2 content|border colour|side-box 2 colour|main box font-colour|box border thickness}}
Note: If omitted, border colour and side-box 2 colour default to the same colour as side-box 1, and font colour is black. Default border thickness is 1.

ID 1 info box content ID 2
Mini box
{{Userbox-m
  |border-c = #000
  |border-s = 1
  |id-c     = #fff
  |id-s     = 12
  |id-fc    = #000
  |id       = ID
}}

or {{Userbox-m|box colour|box content}}

ID

Pages in category "Userbox templates"

The following 5 pages are in this category, out of 5 total.