User:SD0001/BDCS

From Wikipedia, the free encyclopedia

Birthday Committee script (BDCS) is a script created for the Birthday Committee, to assist in wishing users a happy birthday, first edit day, or adminship anniversary. Accessed through the menu item "BDC wish" (in the "More" menu) on user talk pages.

DescriptionWish users a happy birthday, first edit day or adminship anniversary
AuthorSD0001
StatusBeta
UpdatedDecember 7, 2019
    (6 years ago)
Quick facts Description, Author ...
BDCS
DescriptionWish users a happy birthday, first edit day or adminship anniversary
AuthorSD0001
StatusBeta
UpdatedDecember 7, 2019
    (6 years ago)
SkinsAll desktop skins
SourceUser:SD0001/BDCS.js
Close

The code is adapted from Twinkle's welcome module.

To add custom wish templates, add the something like the following to your common.js page:

window.BDCS_CustomTemplates = [
    "TemplateName",
    "TemplateName2"
];

BDCS_CustomTemplates is a list of template names (not necessarily in template namespace). You can mention additional parameters, such as "User:MyUsername/CustomWishTemplate|birthday=yes" . But do not include the opening {{ or final }}.

Installation

If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, add the line

importScript('User:SD0001/BDCS.js'); // [[User:SD0001/BDCS.js]]

on your common.js page.

See also

Related Articles

Wikiwand AI