Difference between revisions of "Template:Do not move to Commons"
imported>Sfan00 IMG (Reverted to revision 758353352 by Sfan00 IMG (talk): Changes are more complex than expected and need to be sandboxed first. (TW)) |
imported>Sfan00 IMG |
||
| Line 1: | Line 1: | ||
<!-- License: Public license, transcluded from Template:PD-US | <!-- License: Public license, transcluded from Template:PD-US | ||
| − | -->{{#ifexpr:{{LOCALYEAR}}<={{{expiry|{{{1|{{LOCALYEAR}}}}}}}}|{{imbox | + | --> |
| + | {{#ifexpr:{{{expiry|-1}}}=-1|{{imbox | ||
| + | | type = style | ||
| + | | image = [[File:NoCommons.svg|50px]] | ||
| + | | text = '''Do not copy this file to Wikimedia Commons.'''<br />'''No <nowiki>|expiry=</nowiki> parameter has been specified,''' so it has either not possible to determine if or when the file ceased to be copyright in it's country of first publication, or the file should not be moved to Wikimmedia Commons for a reason other than copyright.<br />{{#switch:{{{reason|}}} | ||
| + | |USonly=This file is [[free content]] in the United States but '''non-free''' or '''potentially non-free in its country of origin'''. [[commons:main page|Wikimedia Commons]] only accepts files that are public domain or [[commons:Commons:Licensing|freely licensed]] in both the country of origin and the United States.<br /><small>For more details, see [[Wikipedia:Copyrights]] and [[Template talk:PD-US|talk for the PD-US license template]].</small> | ||
| + | |{{{reason}}}={{{reason}}} | ||
| + | | | ||
| + | |#default={{red|'''No reason has been supplied as to why this file cannot be moved to Wikimedia Commons!'''}}{{file other| [[Category:Wikipedia files not suitable for Commons with no reason stated|{{PAGENAME}}]]}} | ||
| + | }} | ||
| + | }} | ||
| + | |{{#ifexpr:{{LOCALYEAR}}<={{{expiry|{{{1|{{LOCALYEAR}}}}}}}}|{{imbox | ||
| type = style | | type = style | ||
| image = [[File:NoCommons.svg|50px]] | | image = [[File:NoCommons.svg|50px]] | ||
| Line 10: | Line 21: | ||
}} | }} | ||
}} | }} | ||
| + | }} | ||
| + | |||
{{file other| [[Category:Wikipedia files not suitable for Commons|{{PAGENAME}}]]}} | {{file other| [[Category:Wikipedia files not suitable for Commons|{{PAGENAME}}]]}} | ||
}} | }} | ||
Revision as of 12:12, 26 February 2017
| File:Police man Twinkle Head.svg | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
Contents
Usage
This template must be accompanied by the appropriate copyright tag. It often accompanies {{PD-US}}.
|reason= is optional but is recommended for clarifying the reason as to why the work should not be moved to Commons. For the situation where a work of non-US origin is free content in the United States while being subject to copyright restrictions in its country of origin, the parameter can be given as |reason=US only to supply a standard explanation about the work being non-free in its country of origin.
|expiry= hides the message at the end of the given year. For example, if a work by an author who died in 1950 was first published in a country whose copyright term is life plus 70 years, use |expiry=2020, and the message would automatically disappear in 2021, when the image would be automatically placed into Category:Media now suitable for Commons.
Examples
{{Do not move to Commons}}- Always shows the template.
{{Do not move to Commons|expiry=2020}}- Shows the message until December 31, 2020, but hides it starting January 1, 2021.
{{Do not move to Commons|reason=US only}}- For situations where a work of non-US origin is free content in the United States but non-free or potentially non-free in its country of origin.
{{Do not move to Commons|reason=GFDL only}}- See c:Commons:Licensing#GNU Free Documentation License
{{Do not move to Commons|reason=Other reason}}- For situations where more clarification as to why it should not be uploaded to Commons is needed.
TemplateData
TemplateData for Do not move to Commons
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| reason | reason | Clarifying the reason as to why the work should not be moved to Commons. For the situation where a work of non-US origin is free content in the United States while being subject to copyright restrictions in its country of origin, the value 'US only' can be given to supply a standard explanation about the work being non-free in its country of origin. | String | suggested |
| expiry year | expiry 1 | It hides the message at the end of the given year. For example, if a work by an author who died in 1950 was first published in a country whose copyright term is life plus 70 years, “expiry” would be 2020, and the message would automatically disappear in 2021, when the image would be automatically placed into 'Category:Media now suitable for Commons'. | Date | optional |
See also
- {{PD-US}}, which this template was originally transcluded from
- {{Possibly non-free in US}}, a template for the opposite situation, where a claim of fair use may need to be made because a file is in the public domain in another country but not the US.
- {{Copy to Wikimedia Commons}}
- {{Keep local}}
- {{Incomplete move to Commons}}
- {{Esoteric file}}
- {{Userspace file}}
| The above documentation is transcluded from Template:Do not move to Commons/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |