Template talk:Quick links
From WWR
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
- Width of the infobox: a number and the measurement unit, usually pixels (i.e., 200px).
- Alignment on page: horizontal position on the page (i.e., right, left, none)
- Color of border around each item (not the border around the whole box): a color number or name
- Color of the background (the border around the whole box): a color number or name
- Color of the header text: a color number or name
- Background color of header: a color number or name
- 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.