Template:SA user topicon/doc

Usage
This template displays a ribbon-style Service Award as a top icon in the top-right area of user pages. The template uses the page status indicator system as well as Template:Service awards.

Basic usage
To display the template, just place on the relevant page where the item in italics is replaced by the relevant value. These parameters are required, and should not be omitted.

The template takes four required parameters:


 * year – Starting year
 * month – Starting month
 * day – Starting day of month
 * edits – Number of user edits

displays the following as a top icon:

Summary of all options
This template takes many of the same parameters as Template:Service awards:

Image size
The width parameter specifies the width of the top icon. The height is capped to 20px by the top icon template. The default of 48px results in an image that is 48 pixels wide by 20 pixels tall. Set this to 20px to keep the top icon the same width as a standard 20px×20px top icon.

Caption customisation
The caption on the template, which displayed as a tooltip when the mouse pointer hovers over the icon, can be customised using these parameters. The caption has two auto updating sections: one for the editor's title and one for the editor's award. The three caption parameters specify the text either side of these auto updating sections and the punctuation parameter specifies what punctuation character to use at the end of the caption.

Example:

Gives a tooltip of: