Template:User autoconfirmed since/testcases
Appearance
This is the template test cases page for the sandbox of Template:User autoconfirmed since. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Empty
{{User autoconfirmed since|day=3 |month=8 |year=2002}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
For
{{User autoconfirmed since|day=3 |format=for |month=8 |year=2002}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
Became
{{User autoconfirmed since|day=3 |format=became |month=8 |year=2002}}
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}}
This user has been an autoconfirmed user since August 3, 2002 (22 years, 4 months, 2 weeks and 4 days). (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user since August 3, 2002 (22 years, 4 months, 2 weeks and 4 days). (verify) |
Both with dmy
{{User autoconfirmed since|day=3 |dmy=yes |format=both |month=8 |year=2002}}
This user has been an autoconfirmed user since 3 August 2002 (22 years, 4 months, 2 weeks and 4 days). (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user since 3 August 2002 (22 years, 4 months, 2 weeks and 4 days). (verify) |
Serial comma
{{User autoconfirmed since|day=3 |month=8 |sc=yes |year=2002}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks, and 4 days. (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks, and 4 days. (verify) |
Serial comma yes1
{{User autoconfirmed since|day=3 |month=8 |sc=1 |year=2002}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks, and 4 days. (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
Serial comma yes2
{{User autoconfirmed since|day=3 |month=8 |sc=asdf |year=2002}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks, and 4 days. (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
Serial comma no
{{User autoconfirmed since|day=3 |month=8 |sc=no |year=2002}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user for 22 years, 4 months, 2 weeks and 4 days. (verify) |
Invalid format
{{User autoconfirmed since|day=3 |format=asdbasd |month=8 |year=2002}}
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}}
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}}
This user has been an autoconfirmed user since December , (0 days). (verify) |
{{User autoconfirmed since/sandbox}}
This user has been an autoconfirmed user since December , (0 days). (verify) |
No "year=", "month=" or "day="
{{User autoconfirmed since|2002|8|3|format=both}}
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) |