Stick your pin in the new Wheathead map!

Template talk:Have album

From WWR

Jump to: navigation, search

The Have album template adds an infobox to album page that declares that you have the album, and adds the page to a wiki category where pages with the configured template are listed. The user name parameter is required, and colors can be configured.

Usage

In a page's edit box add the following, replacing "Your user name" with your actual user name:

{{Have album|Your user name}}

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

After the first time you add the template to an album page, at the bottom of the page is a category with your username - "Username's albums". You can click that link and save the page to make an active (found by searching) category. All the album pages on which you place the configured template are listed in the category.

Parameters

  1. User name. The name at the top of your user page, not the nickname set in preferences. (Required.)
  2. Color of border and background of box on left: a color number or name. (Optional.)
  3. Color of box on right: a color number or name. (Optional.)

Examples

  • {{Have album|Your user name}}
Your user name
has this album.

  • {{Have album|Sparkit|#106B99|#E9F0F4}}
Sparkit
has this album.


Notes

  • The first parameter is required the second two parameters are optional. If omitted, they default to these settings:
Username|#556B2F|#EAF1DD
  • For best results, use color numbers. It seems that not all browsers handle color names correctly.

Questions and comments

Personal tools
 Dorado
0.26 secs to build