Template talk:Featured horizontal

From WWR

Jump to: navigation, search

The Featured horizontal template adds to a page an 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 color and font size can be configured.

Usage

In a page's edit box add the following:

{{Featured horizontal}}

To change the color and font size, provide the parameters described below. The parameters must be separated with "|" pipe characters.

Parameters

  1. Background Color: a color name or number
  2. Size of text: a relative size (i.e., smaller, medium, larger, 110%), or a specific size (i.e., 12pt, 10px).
  3. Border weight: width of the framing box (i.e., 2px, 0)

Examples

  • {{Featured horizontal}}
  • {{Featured horizontal | Cornflowerblue | smaller | 0}}
  • {{Featured horizontal | #d3d3d3| 120% | 2px }}
  • {{Featured horizontal | #d3d3d3 | |0}}

Notes

  • The parameters are optional. If omitted, they default to these settings:
#eddbc9 | 100% | 1px
  • For best results, use color numbers. It seems that not all browsers handle color names correctly.

Questions and comments

Personal tools
0.09 secs to build