Template:Happy Adminship/doc

This template is used by the Birthday Committee and its members for those listed on the birthday calendar. It uses a randomly chosen color gradient among several options if the background parameter is undefined.

Usage
Add the following to a user's talk page:

To add a custom last sentence, use the third parameter. For example:

TemplateData
{	"params": { "rfa": { "aliases": [ "2"			],			"label": "RFA subpage name", "description": "Name of the subpage of the recipient's successful RFA; will normally be their username. If left out, the link will go to their rights log instead.", "example": "Jimbo Wales 2", "type": "string", "suggestedvalues": [ "",				"",				""			],			"suggested": true },		"number": { "aliases": [ "1"			],			"label": "Anniversary number", "description": "Ordinal for number of years since the recipient became an administrator", "type": "unknown", "suggestedvalues": [ "first", "second", "third", "fourth", "fifth", "sixth", "seventh", "eighth", "ninth", "10th", "11th", "12th", "13th", "14th", "15th", "16th", "17th", "18th", "19th", "20th", "21st", "22nd", "23rd", "24th", "25th", "26th", "27th", "28th", "29th", "30th" ],			"suggested": true },		"more": { "aliases": [ "3"			],			"label": "Additional message", "description": "Custom message for the user, added in place of \"Enjoy this special day!\" just before your signature.", "type": "content", "suggested": true },		"border": { "description": "Color of the box border", "type": "string", "label": "Border color" },		"background": { "description": "CSS color or gradient for the box background", "type": "string", "label": "Background", "suggestedvalues": [ "linear-gradient(to left, #c6ffdd, #fbd786, LightPink) /* Mint–orange–red */", "linear-gradient(60deg, MistyRose, AntiqueWhite, Ivory, Honeydew, Azure, GhostWhite) /* Pale rainbow */", "linear-gradient(to right, #a1ffce, #faffd1) /* Seagreen–pale yellow */", "linear-gradient(to left, Gold, #FFF600) /* Gold */", "linear-gradient(to right, #c5c5ec, #bfd1f2, #a9efea) /* Shades of blue with purple-green */", "linear-gradient(to right, #a8ff78, #78ffd6) /* Lime–seafoam */", "linear-gradient(300deg, AliceBlue, LavenderBlush 30%, LavenderBlush 70%, AliceBlue) /* Pink–blue */", "repeating-linear-gradient(300deg, MistyRose, AntiqueWhite, Ivory, Honeydew, Azure, GhostWhite, MistyRose 50%) /* Repeating pale rainbow */" ]		},		"image": { "description": "Custom image to replace the globe and mop. Set to nothing to remove.", "label": "Left image", "type": "wiki-file-name" },		"custom": { "label": "Custom message", "description": "Replaces everything except your signature with a custom message", "type": "content" },		"imageright": { "label": "Right image", "description": "Custom right image to replace the party popper. Set to nothing to remove.", "type": "wiki-file-name" },		"header": { "label": "Custom header", "description": "Replaces the bold header with a custom message", "type": "content" },		"name": { "label": "Custom name", "description": "Overrides the username in the first sentence, for e.g. greeting someone by their first name", "type": "string" }	},	"description": "Talk page template for wishing admins a happy anniversary of their adminship", "paramOrder": [ "number", "rfa", "more", "custom", "header", "name", "image", "imageright", "background", "border" ] }