Jump to content

User:SonPraises/ubx/Sobriety

From Wikipedia, the free encyclopedia
This user has been sober for 18 years, 10 months, and 16 days.



Customizing

[edit]

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, 4 months, and 11 days.





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