Template:Copy to Wikimedia Commons in/doc: Difference between revisions

Content deleted Content added
create doc
 
 
(2 intermediate revisions by 2 users not shown)
Line 1:
{{Documentation subpage}}
This template is to indicate when an image is in public ___domain in both its source country and the United States. English Wikipedia policy allows for copyrighted images to be used under "fair use" guidelines. However, these images '''must not''' be transferred to Commons until they are public ___domain in both the United States and the country of origin.
 
Once eligible, files will automatically be tagged with {{tl|Copy to Wikimedia Commons}}.
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
== Usage ==
* <code><nowiki>{{Copy to Wikimedia Commons in|PUBLIC_DOMAIN_YEAR}}</nowiki></code>
 
The parameter PUBLIC_DOMAIN_YEAR is the year in which the media becomes public ___domain in the home country, and is mandatory.
{{tlx|copy to Wikimedia Commons in|public ___domain year}}
 
Whenever this template is transcluded, if the PUBLIC_DOMAIN_YEAR is in the future (for example: {{Tlx|Copy to Wikimedia Commons in|{{#time:Y|+2 years}}}}) then the template box will display the following:
<div style="border-width:1px; border-style:dotted; border-color:grey;">
{{tlx|copyCopy to Wikimedia Commons in|public{{#time:Y|+2 ___domain yearyears}}|demo=y}}
</div>
 
However, if the PUBLIC_DOMAIN_YEAR is in the past (for example: {{Tlx|Copy to Wikimedia Commons in|{{#time:Y|-2 years}}}}) then the template will display the following:
<div style="border-width:1px; border-style:dotted; border-color:grey;">
{{Copy to Wikimedia Commons in|{{#time:Y|-2 years}}|demo=y}}
</div>
 
==TemplateData==
<templatedata>
{
"params": {
"1": {
"aliases": [
"date"
],
"description": "The year in which the file can be transferred to Commons. NOTE: copyright usually expires at the end of the calendar year. For example, copyright that mathematically expires on June 2, 2049 would actually enter the public ___domain on January 1, 2050. In this example, this parameter should be set to 2050.",
"example": "2050",
"type": "date",
"required": true
},
"demo": {
"aliases": [
"nocat"
],
"description": "If present, the template does not automatically categorize the file",
"example": "yes",
"type": "unknown"
}
},
"description": "Specify that a file is not currently eligible for transfer to Wikimedia Commons, but provide a date when it will be."
}
</templatedata>
 
<includeonly>{{sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:File message boxes|{{PAGENAME}}]]
 
[[Category:File namespace templates|{{PAGENAME}}]]
[[Category:Transwiki templates|{{PAGENAME}}]]
[[Category:Wikimedia Commons templates|{{PAGENAME}}]]
}}</includeonly>