Template:Happy Birthday/doc
This is a documentation subpage for Template:Happy Birthday. It may contain usage information, categories and other content that is not part of the original template page. |
This template should always be substituted (i.e., use {{subst:Happy Birthday}} ). Any accidental transclusions will be automatically substituted by a bot. |
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
Happy birthday! Hi [Username]! On behalf of the Birthday Committee, I'd like to wish you a very happy 47th birthday! Please keep on contributing! ~~~~ |
TemplateData
[edit]Talk page template for wishing admins a happy anniversary of their adminship
Parameter | Description | Type | Status | |
---|---|---|---|---|
Additional message | more 1 | Custom message for the user, added in place of "Enjoy this special day!" just before your signature. | Content | suggested |
Age | number 2 | Ordinal for user's age. Retrieved automatically if provided in a parenthetical after the username on the Birthday Committee calendar.
| Unknown | optional |
Custom message | custom | Replaces everything except your signature with a custom message | Content | optional |
Custom header | header | Replaces the bold header with a custom message | Content | optional |
Custom name | name | Overrides the username in the first sentence, for e.g. greeting someone by their first name | String | optional |
Left image | image | Custom image to replace the birthday cake. Set to nothing to remove. | File | optional |
Right image | imageright | Custom right image to replace the party popper. Set to nothing to remove. | File | optional |
Background | background | CSS color or gradient for the box background
| String | optional |
Border color | border | Color of the box border | String | optional |
See also
[edit]- {{Birthday}}
- {{Happy WikiBirthday}}
- {{Happy Birthday 2}}
- {{Happy Birthday 3}}
- {{Happy Birthday 4}}
- {{Happy Birthday 5}}
- {{Happy Birthday 6}}
- {{Happy Birthday 7}}
- {{Happy Birthday 8}}
- {{Happy Birthday 9}}
- {{Happy Birthday 10}}
- {{Happy Birthday 11}}
- {{Happy Birthday 12}}
- {{Happy Birthday 13}}