Template talk:Featured vertical

From WWR

Jump to: navigation, search
FEATURED TODAY
ARTIST
JoDell

LISTENER
BlueRidge

LINKS
Say hello on-air

IMAGES
When we were...

NOTICES
$$819.43 donation goal

DONATION GOAL
$$819.43
SUPPORT
Latest news
Current discussions
How-to FAQ
Wheathead news
The Featured vertical template adds to a page info box that includes "Featured Artist," "Featured Listener", "Featured Links", and system status. The system status is only visible when a special notice like "Jimbob is coding" message is available. The colors, font size and alignment on the page can be configured.

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

  1. Background Color of header: a color name or number
  2. Background Color of body: a color name or number
  3. Color of header text: a color name or number
  4. Size of text: a relative size (i.e., smaller, medium, larger, 110%), a specific size (i.e., 12pt, 10px).
  5. 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.

Questions and comments

Personal tools
0.63 secs to build