| This user has been editing Wikipedia for more than 15 years. |
Usage
editThis userbox may be used by members of the Fifteen Year Society of Wikipedians that have been editing for fifteen years or more to indicate their membership if they so wish. This userbox will automatically add your user page to the Members of the Fifteen Year Society of Wikipedia editorsuser category.
You can disable automatic categorization using template parameter |nocat=true.
Parameters
editIf no parameters are given, the userbox displays as above. Optionally, the following parameters may be supplied to modify the display of the userbox.
Unnamed parameter
editIf the first parameter is unnamed, it will specify free text to append to the end of the default text. No space will appear between the two unless given at the beginning of the supplied text.
{{User:FlightTime/UBX/Fifteen Year Society| (since 2005)}} renders as:
| This user has been editing Wikipedia for more than 15 years (since 2005). |
{{User:FlightTime/UBX/Fifteen Year Society|—since July 28, 2005}} (note the lack of a space after "|" here) renders as:
| This user has been editing Wikipedia for more than 15 years—since July 28, 2005. |
year, month, and day
editIf desired, the named parameters year, month, and day can be given as the date the user first started editing Wikipedia, to cause the userbox to calculate the amount of time that has elapsed since then automatically.
{{User:FlightTime/UBX/Fifteen Year Society|year=2005|month=1|day=1}} renders as:
| This user has been editing Wikipedia for more than 15 years (21 years, 6 months, and 1 day). |
format
editBy default, the duration is output as years, months, and days, but format=ym can be specified to only show years and months, or format=y can be used to display only the years.
{{User:FlightTime/UBX/Fifteen Year Society|year=2004|month=12|day=31|format=ym}} renders as:
| This user has been editing Wikipedia for more than 15 years (21 years, 6 months). |
{{User:FlightTime/UBX/Fifteen Year Society|year=2005|month=7|day=28|format=y}} renders as:
| This user has been editing Wikipedia for more than 15 years (20+). |
period
editBy default, the sentence in the userbox will end with a period (full stop). This can be suppressed by setting period to a blank value.
{{User:FlightTime/UBX/Fifteen Year Society|year=2006|month=1|day=31|period=}} renders as:
| This user has been editing Wikipedia for more than 15 years (20 years, 5 months, and 2 days) |
period can be set to a non-blank value to provide a substitute for the usual ".", but note that due to template limitations (and unlike the unnamed parameter), if the value contains leading (or trailing) spaces, they need to be specified as HTML character references, e.g. or  .
sc
editSpecifying sc=n or sc=no will suppress the serial comma used before the "and" in ymd format.
{{User:FlightTime/UBX/Fifteen Year Society|year=2005|month=1|day=1|sc=n}} renders as:
| This user has been editing Wikipedia for more than 15 years (21 years, 6 months and 1 day). |
whitespace
editBy default, one space will appear between the userbox's default text and the calculated duration. whitespace=<br> can be used to output a line break before the duration instead.
{{User:FlightTime/UBX/Fifteen Year Society|year=2005|month=1|day=1|whitespace=<br />}} renders as:
| This user has been editing Wikipedia for more than 15 years (21 years, 6 months, and 1 day). |
Note that due to template limitations (and unlike the unnamed parameter), if the value of whitespace contains leading or trailing spaces, they need to be specified as HTML character references, e.g. or  .
{{User:FlightTime/UBX/Fifteen Year Society|year=2005|month=1|day=1|period=|whitespace=<br /> }} renders as:
| This user has been editing Wikipedia for more than 15 years (21 years, 6 months, and 1 day) |
nocat
editIf you need to avoid categorization where the template is used, set nocat=true.
alticon
editTo use the alternate icon, where the letters don't overlap the wreath, set alticon=true.
{{User:FlightTime/UBX/Fifteen Year Society|alticon=true}} renders as:
| This user has been editing Wikipedia for more than 15 years. |