Jump to content

Template:User Wikipedian for/testcases

From Wikipedia, the free encyclopedia

Test case 1

[edit]
Sandbox

{{User Wikipedian for/sandbox}}

This user has been on Wikipedia for 0 days.
Main template

{{User Wikipedian for}}

This user has been on Wikipedia for 0 days.

Test case 2

[edit]
Sandbox

{{User Wikipedian for/sandbox|year=2007}}

This user has been on Wikipedia for 16 or 17 years.
Main template

{{User Wikipedian for|year=2007}}

This user has been on Wikipedia for 16 or 17 years.

Test case 3

[edit]
Sandbox

{{User Wikipedian for/sandbox|year=2007|month=03}}

This user has been on Wikipedia for 17 years and 7 or 8 months.
Main template

{{User Wikipedian for|year=2007|month=03}}

This user has been on Wikipedia for 17 years and 7 or 8 months.

Test case 4

[edit]
Sandbox

{{User Wikipedian for/sandbox|year=2001|month=01|day=15}}

This user has been on Wikipedia for 23 years, 10 months and 7 days.
Main template

{{User Wikipedian for|year=2001|month=01|day=15}}

This user has been on Wikipedia for 23 years, 10 months and 7 days.

Test case 5

[edit]
Sandbox

{{User Wikipedian for/sandbox|year=2001|month=01|day=15|link=true}}

This user has been on Wikipedia for 23 years, 10 months and 7 days.
Main template

{{User Wikipedian for|year=2001|month=01|day=15|link=true}}

This user has been on Wikipedia for 23 years, 10 months and 7 days.

Test case 6

[edit]
Sandbox

{{User Wikipedian for/sandbox|year=2001|month=01|day=15|diff=http://en.wikipedia.org/w/index.php?title=Over_and_under_shotgun&diff=prev&oldid=337165067}}

This user has been on Wikipedia for 23 years, 10 months and 7 days.
Main template

{{User Wikipedian for|year=2001|month=01|day=15|diff=http://en.wikipedia.org/w/index.php?title=Over_and_under_shotgun&diff=prev&oldid=337165067}}

This user has been on Wikipedia for 23 years, 10 months and 7 days.

Test case 7

[edit]
Sandbox

{{User Wikipedian for/sandbox|year={{CURRENTYEAR}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}

This user has been on Wikipedia for 0 days.
Main template

{{User Wikipedian for|year={{CURRENTYEAR}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}

This user has been on Wikipedia for 0 days.

Test case 8

[edit]
Sandbox

{{User Wikipedian for/sandbox|year={{#expr:{{CURRENTYEAR}}-1}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}

This user has been on Wikipedia for 1 year.
Main template

{{User Wikipedian for|year={{#expr:{{CURRENTYEAR}}-1}}|month={{CURRENTMONTH}}|day={{CURRENTDAY}}|wikibirthday=no}}

This user has been on Wikipedia for 1 year.