Difference between revisions of "Template:Copy to Wikimedia Commons/doc"

From blackwiki
Jump to navigation Jump to search
imported>Fastily
m (rm Category:Copy to Wikimedia Commons, this doesn't need to be transferred)
imported>Fastily
(rm redundant docs, remove unused parameters)
Line 17: Line 17:
  
 
Please do not [[Wikipedia:Subst|subst:]] this template. Please do not insert ''<nowiki>{{...}}</nowiki>'' characters into the edit summary of the target pages, as this causes formatting problems after the edit history is transwikied. This template is a [[Wikipedia:Avoid self-references|self-reference]].
 
Please do not [[Wikipedia:Subst|subst:]] this template. Please do not insert ''<nowiki>{{...}}</nowiki>'' characters into the edit summary of the target pages, as this causes formatting problems after the edit history is transwikied. This template is a [[Wikipedia:Avoid self-references|self-reference]].
 
===Usage: simple===
 
* <code><nowiki>{{Copy to Wikimedia Commons}}</nowiki></code>
 
 
Will send the file to [[:Category:Copy to Wikimedia Commons]].
 
 
===Usage: detailed===
 
* <code><nowiki>{{Copy to Wikimedia Commons|bot=Botname|date=</nowiki>{{#time:F Y}}<nowiki>}}</nowiki></code>
 
* <code><nowiki>{{Copy to Wikimedia Commons|priority=true}}</nowiki></code>
 
* <code><nowiki>{{Copy to Wikimedia Commons|human=username}}</nowiki></code>
 
 
Some parameters can be used together and some should not be used together:
 
* date={{#time:F Y}} or the month when the tag was added.
 
* bot=Botname to indicate that the file was mass tagged by a bot. It may not be eligible for Commons so check before it is moved. Will send the file to [[:Category:Copy to Wikimedia Commons (bot-assessed)]].
 
* priority=true is added if the file is selected as a priority file in the [[Wikipedia:WikiProject Images and Media/Commons/Drives|MtC Drive]]. Will send the file to [[:Category:Move to Commons Priority Candidates]].
 
* human=Some user to indicate that the file has been checked by a human and found eligible for Commons. Will send the file to [[:Category:Copy to Wikimedia Commons reviewed by a human]].
 
  
 
==TemplateData==
 
==TemplateData==
Line 50: Line 34:
 
                         "description": "Name of the tagging bot if it was mass-tagged by one",
 
                         "description": "Name of the tagging bot if it was mass-tagged by one",
 
                         "type": "string/wiki-user-name",
 
                         "type": "string/wiki-user-name",
                        "required": false
 
                },
 
                "priority": {
 
                        "label": "Priority for MtC drives",
 
                        "description": "Put 'true' if it is a priority file in an MtC drive",
 
                        "type": "string",
 
 
                         "required": false
 
                         "required": false
 
                 },
 
                 },
Line 92: Line 70:
  
 
== See also ==
 
== See also ==
* {{tl|Now Commons}}, for tagging files for deletion after being moved to Commons
+
* {{Tlx|Now Commons}}, for tagging files for deletion after being moved to Commons
* {{tl|Do not move to Commons}}, for tagging files that should not be moved
+
* {{Tlx|Do not move to Commons}}, for tagging files that should not be moved
* {{tl|Deleted on Commons}}, for tagging files that were deleted on Commons
+
* {{Tlx|Deleted on Commons}}, for tagging files that were deleted on Commons
* {{tl|Incomplete move to Commons}}
+
* {{Tlx|Incomplete move to Commons}}
  
 
* [[Wikipedia:Moving files to the Commons]], for usage description.
 
* [[Wikipedia:Moving files to the Commons]], for usage description.

Revision as of 21:19, 25 March 2017

Usage

The style this template has above is meant for image pages. This template automatically detects if it is used on an article page (main space) and then it looks like this:

This template will categorise tagged pages into Category:Copy to Wikimedia Commons.

Please do not subst: this template. Please do not insert {{...}} characters into the edit summary of the target pages, as this causes formatting problems after the edit history is transwikied. This template is a self-reference.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Copy to Wikimedia Commons

A template to indicate that the file should be copied to Commons

Template parameters

ParameterDescriptionTypeStatus
Month and yeardate

Gives the date the file has been suggested for transfer to Commons

Stringoptional
Bot namebot

Name of the tagging bot if it was mass-tagged by one

Useroptional
Reviewing userhuman

Name of human reviewer

Useroptional
Add file to Category:Copy to Wikimedia Commons (inline-identified)inline

Puts the file into Category:Copy to Wikimedia Commons (inline-identified) instead of Category:Copy to Wikimedia Commons

Stringoptional

Redirects

See also

Template:Transwiki maintenance