Changes

Jump to navigation Jump to search
add ifeq to only add category to files
{{#if:{{{date<includeonly>|</includeonly>}}}{{{1<includeonly>|</includeonly>}}}|
{{#ifexpr:{{{date|{{{1<noinclude>|2016</noinclude>}}}}}}>{{CURRENTYEAR}}|
{{imbox
| type = license
| image = none
| text = This file '''will not''' be in the public domain in its home country until '''January 1, {{{date|{{{1}}}}}}''' and '''should not be transferred to Wikimedia Commons''' until that date, as Commons requires that images be free in the source country and in the United States.
}}{{file other|[[Category:Wikipedia files not suitable for Commons]]}}
|
{{imbox
| type = license
| image = [[Image:PD-icon.svg|52px|Public domain|alt=|link=]]
| imageright = [[Image:Ambox warning pn.svg|40px|Warning sign|alt=|link=]]
| text = {{#ifeq:{{{date|{{{1}}}}}}|0|This image is not in copyright in its home country as it is ''[[de minimis]]'', does not meet the [[threshold of originality]], or for another reason.|This image was uploaded when it was in copyright in its home country. However, it is now believed the image fell out of copyright on '''January 1, {{{date|{{{1}}}}}}'''.}} {{#ifeq:yes|{{{suppress|no}}}||Please confirm the details, and if it seems correct, move this image to [[Wikimedia Commons]].}}
}}
{{#ifeq:yes|{{{suppress|no}}}||{{Copy to Wikimedia Commons}}}}
}}<includeonly>{{#if:{{{demo|{{{nocat|}}}}}}||{{#ifeq:{{{date|{{{1}}}}}}|0||{{#ifeq:{{NAMESPACENUMBER}}|6|[[Category:Out of copyright in {{{date|{{{1}}}}}}]]}}}}}}</includeonly>
|{{imbox|type=content|text={{strongbad|ERROR: A date is mandatory}} in {{tlx|Out of copyright in}}, e.g. {{tnull|Out of copyright in|{{CURRENTYEAR}}}}.}} }}<noinclude>
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
Anonymous user

Navigation menu