Template talk:Featured vertical
From WWR
|
Usage
In a page's edit box add the following:
- {{Featured vertical}}
To change the colors, header font, alignment and border, provide the parameters described below. The parameters must be separated with "|" pipe characters.
Parameters
- Background Color of header: a color name or number
- Background Color of body: a color name or number
- Color of header text: a color name or number
- Size of text: a relative size (i.e., smaller, medium, larger, 110%), a specific size (i.e., 12pt, 10px).
- Alignment of the box: left, right or center
Examples
- {{Featured vertical}}
- {{Featured vertical | darkblue | Cornflowerblue | Lightcyan | medium | right}}
- {{Featured vertical | #000000 | #808080 | #d3d3d3| larger | left}}
- {{Featured vertical | | | | | center}}
Notes
- The parameters are optional. If omitted, they default to these settings:
- #808080 | #d3d3d3 | black | 90% | right.
- For best results, use color numbers. It seems that not all browsers handle color names correctly.