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

Usage edit

Add the following to a user's talk page: {{subst:Happy Birthday|Custom last sentence|Age}}

Example: {{subst:Happy Birthday|Please keep on contributing!|47th}} produces

TemplateData edit

Talk page template for wishing admins a happy anniversary of their adminship

Template parameters

ParameterDescriptionTypeStatus
Additional messagemore 1

Custom message for the user, added in place of "Enjoy this special day!" just before your signature.

Contentsuggested
Agenumber 2

Ordinal for user's age

Example
21st
Unknownoptional
Custom messagecustom

Replaces everything except your signature with a custom message

Contentoptional
Custom headerheader

Replaces the bold header with a custom message

Contentoptional
Custom namename

Overrides the username in the first sentence, for e.g. greeting someone by their first name

Stringoptional
Left imageimage

Custom image to replace the birthday cake. Set to nothing to remove.

Fileoptional
Right imageimageright

Custom right image to replace the party popper. Set to nothing to remove.

Fileoptional
Backgroundbackground

CSS color or gradient for the box background

Suggested values
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 */
Stringoptional
Border colorborder

Color of the box border

Stringoptional

See also edit