Template talk:Quick links

From WWR

Jump to: navigation, search

The Quick links template adds an infobox to a page that includes links for starting the WWR stream, a link to what is currently playing and a link to the main chat room. The colors, width and alignment on the page can be configured.

Usage

In a page's edit box add the following:

{{Quick links}}

To change the colors and alignment provide the parameters described below. The parameters must be separated with "|" pipe characters.

Parameters

  1. Width of the infobox: a number and the measurement unit, usually pixels (i.e., 200px).
  2. Alignment on page: horizontal position on the page (i.e., right, left, none)
  3. Color of border around each item (not the border around the whole box): a color number or name
  4. Color of the background (the border around the whole box): a color number or name
  5. Color of the header text: a color number or name
  6. Background color of header: a color number or name
  7. Background color of items in list: a color number or name

Examples

  • {{Quick links}}
QUICK LINKS
Listen (hi-speed)
Listen (med-speed)
Listen (lo-speed)
What's playing?

  • {{Quick links|130px|right|#556B2F|#77A526|#EAF1DD|#556B2F|#EAF1DD}}
QUICK LINKS
Listen (hi-speed)
Listen (med-speed)
Listen (lo-speed)
What's playing?

  • {{Quick links|200px|left|Lightcyan|Blue|White|Darkblue|Lightblue}}
QUICK LINKS
Listen (hi-speed)
Listen (med-speed)
Listen (lo-speed)
What's playing?

Notes

  • The parameters are optional. If omitted, they default to these settings:
170px|right|#6B594F|#AEA098|#6B594F|#CEC0A8|#DCD2C0
  • For best results, use color numbers. It seems that not all browsers handle color names correctly.

Questions and comments

Personal tools
0.32 secs to build