User:SonPraises/ubx/Sobriety

From WikiProjectMed
Jump to navigation Jump to search
This user has been sober for 18 years, 6 months, and 5 days.



Customizing

This user box must be customized to the user. Once customized, it will never need to be updated. Before closing out the template with the closing swing brackets, add the date of the beginning of sobriety by adding|year = (year)|month = (month--in numbers)|day = (day).

If a user who has been sober since July 5, 2007 added it to his user box on September 29, 2009. He would enter the template, with the following customization.


{{User:SonPraises/ubx/Sobriety|year=2007|month=7|day=5}}

The code would then yield the following box:

This user has been sober for 17 years, and 1 day.





The box then autocomputes the years, months and days of his sobriety.