User:Ring/Pagebox/doc

This template allows easy creation of containers to wrap subpages and populate user pages with. It should be especially flexible concerning coloring, as one can specify every color explicitely or delegate to custom color templates.

Parameters

 * 1 - heading (Default: nothing)
 * text to put in the upper part


 * 2 - content (Default: nothing at all)
 * what to place in the main part of the box


 * 3 - color (Default: none, i.e. default of color-t)
 * delegates to a color template to aquire a simple set of colors


 * 4 - box-css
 * additional CSS instructions to apply to wrapping div-container


 * link
 * if specified, heading will link to specified destination


 * color-t (Default: User:Ring/Color)
 * color template to use


 * border-c (Default: border of color-t)
 * color of the border around the box and in between heading and main content


 * border-w (Default: 1px)
 * width of borders


 * border-s (Default: solid)
 * border-style, e.g.  or


 * box-p (Default: 1px)
 * internal padding around heading and content areas


 * box-bg (Default: tint of color-t)
 * background of the box (visible in the internal padding), fallback to


 * heading-fc (Default: font-bg of color-t)
 * font color for heading


 * heading-bg (Default: background of color-t)
 * background color of the heading


 * heading-s (Default: 90%)
 * font size for the heading


 * heading-p (Default: 2px)
 * padding in the heading area


 * heading-align (Default: center)
 * horizontal alignment of the heading


 * heading-variant (Default: small-caps)
 * font variant of the heading ( or  )


 * heading-weight (Default: bold)
 * font weight of the heading, e.g.,  ,  ,  .. ,


 * heading-lh (Default: 1em)
 * line height of the heading


 * heading-css
 * additional CSS properties for the heading area


 * heading-level (Default: 2)
 * level of the heading to create, e.g.  for


 * content-fc (Default: font-tint of color-t)
 * font color for main content


 * content-bg (Default: tint of color-t)
 * background color of the main content


 * content-s (Default: 100%)
 * font-size for the main content


 * content-p (Default: 0.5em 1em)
 * padding in the content area


 * content-css
 * additional CSS properties for the content area


 * image
 * if set, the image will be used as a simulated background (not repeated)


 * image-s
 * size of the background image


 * image-pos (Default: bottom:0px; right:0px;)
 * position of the image, e.g.


 * anchor
 * if specified, this will be used for the named anchor of the box instead of the heading

Colors
Following possibilities exist (for clarification):
 * specifying, but not  : User:Ring/Color with parameter   will be used, including font colors
 * specifying, but not  : specified template will be used, e.g. profession specific template; default font colors are   for heading, black for content
 * specifying  and  :   will be used, including font colors
 * specifying neither: default of User:Ring/Color will be used for all colors, including font colors

If  or   is one of ,   or  , then   will be used. This should allow easy support for color templates that do not provide font colors yet.

Anchors
If a heading is provided, an id will be created for it. Use " " to link to this box. (If  is specified,   will be used instead.)