Jump to content

Template:Copy to Wikimedia Commons in/testcases

From Wikipedia, the free encyclopedia
2010
{{Copy to Wikimedia Commons in|2010|demo=yes}}

{{Copy to Wikimedia Commons in}}

{{Copy to Wikimedia Commons in/sandbox}}

9999
{{Copy to Wikimedia Commons in|9999|demo=yes}}

{{Copy to Wikimedia Commons in}}

{{Copy to Wikimedia Commons in/sandbox}}

No year
{{Copy to Wikimedia Commons in|demo=yes}}

{{Copy to Wikimedia Commons in}}

{{Copy to Wikimedia Commons in/sandbox}}

From merge

[edit]

The testcases from Template:Out of copyright in/testcases:

Notes

[edit]

Temporarily remove the |demo=y from the actual code in these testcases if you want to test the categorization.

Test 1

[edit]

{{Out of copyright in/sandbox|2016}}

Test 2

[edit]

{{Out of copyright in/sandbox|2016|suppress=no}}

Test 3

[edit]

{{Out of copyright in/sandbox|2016|suppress=yes}}

Test 4

[edit]

|1= missing (in various ways):

{{Out of copyright in/sandbox}}

{{Out of copyright in/sandbox||suppress=yes}}

{{Out of copyright in/sandbox|1=}}

{{Out of copyright in/sandbox|date=|suppress=yes}}

Test 5

[edit]

Special value of |1=0:

{{Out of copyright in/sandbox|0}}

{{Out of copyright in/sandbox|1=0}}

{{Out of copyright in/sandbox|date=0}}

Test 6

[edit]

Some combinations:

{{Out of copyright in/sandbox|date=2016|suppress=yes}}

{{Out of copyright in/sandbox|0|suppress=yes}}

Test 7

[edit]

Past:

{{Out of copyright in/sandbox|date=2015|suppress=yes}}

{{Out of copyright in/sandbox|2015}}

Test 8

[edit]

Future:

{{Out of copyright in/sandbox|date=2112|suppress=yes}}

{{Out of copyright in/sandbox|2112}}