Template:User autoconfirmed since/testcases

Empty
{{User autoconfirmed since|day=3 |month=8 |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)
For
{{User autoconfirmed since|day=3 |format=for |month=8 |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)
Became
{{User autoconfirmed since|day=3 |format=became |month=8 |year=2002}}

{{User autoconfirmed since}}

The format parameter only allows "both", "for", "since" or it being empty. For more information see the template's documentation. (verify)


{{User autoconfirmed since/sandbox}}

This user became an autoconfirmed user on August 3, 2002. (verify)
Both
{{User autoconfirmed since|day=3 |format=both |month=8 |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user since August 3, 2002 (22 years and 3 months). (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user since August 3, 2002 (22 years and 3 months). (verify)
Both with dmy
{{User autoconfirmed since|day=3 |dmy=yes |format=both |month=8 |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user since 3 August 2002 (22 years and 3 months). (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user since 3 August 2002 (22 years and 3 months). (verify)
Serial comma
{{User autoconfirmed since|day=3 |month=8 |sc=yes |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)
Serial comma yes1
{{User autoconfirmed since|day=3 |month=8 |sc=1 |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)
Serial comma yes2
{{User autoconfirmed since|day=3 |month=8 |sc=asdf |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)
Serial comma no
{{User autoconfirmed since|day=3 |month=8 |sc=no |year=2002}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user for 22 years and 3 months. (verify)
Invalid format
{{User autoconfirmed since|day=3 |format=asdbasd |month=8 |year=2002}}

{{User autoconfirmed since}}

The format parameter only allows "both", "for", "since" or it being empty. For more information see the template's documentation. (verify)


{{User autoconfirmed since/sandbox}}

The format parameter only allows "both", "for", "became" or it being empty. For more information see the template's documentation. (verify)
No date provided
{{User autoconfirmed since|format=both}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user since Missing required parameter 1=month! , (0 days). (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user since Missing required parameter 1=month! , (0 days). (verify)
Only month provided
{{User autoconfirmed since|format=both |month=12}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user since December , (−1 month). (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user since December , (−1 month). (verify)
No "year=", "month=" or "day="
{{User autoconfirmed since|2002|8|3|format=both}}

{{User autoconfirmed since}}

This user has been an autoconfirmed user since Missing required parameter 1=month! , (0 days). (verify)


{{User autoconfirmed since/sandbox}}

This user has been an autoconfirmed user since Missing required parameter 1=month! , (0 days). (verify)