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

From blackwiki
Jump to navigation Jump to search
imported>FlightTime
(Define lnk trgt)
imported>Jonesey95
 
(11 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
 
{{deletiontools|all=0|afd=1|merge=1|move=1|transwiki=1}}
 
{{deletiontools|all=0|afd=1|merge=1|move=1|transwiki=1}}
 
{{tsh|mtc}}
 
{{tsh|mtc}}
{{high-risk| 300,000+ }}
+
{{High-risk}}
 
{{Twinkle standard installation}}
 
{{Twinkle standard installation}}
  
Line 16: Line 15:
 
This template will categorise tagged pages into [[:Category:Copy to Wikimedia Commons]].  
 
This template will categorise tagged pages into [[:Category:Copy to Wikimedia Commons]].  
  
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 contains a [[wikipedia:Manual of Style/Self-references to avoid|self-reference]] (it refers to the encyclopaedia in its contents).
 
 
===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 41: Line 24:
 
         "params": {
 
         "params": {
 
                 "date": {
 
                 "date": {
                         "label": "Month and year",
+
                         "label": "Mark date",
                         "description": "Gives the date the file has been suggested for transfer to Commons",
+
                         "description": "The date the file has been suggested for transfer to Commons",
                         "type": "string",
+
                         "type": "date",
 
                         "required": false
 
                         "required": false
 
                 },
 
                 },
Line 50: Line 33:
 
                         "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 65: Line 42:
 
                 },
 
                 },
 
                 "inline": {
 
                 "inline": {
                         "label": "Add file to Category:Copy to Wikimedia Commons (inline-identified)",
+
                         "label": "inline-identified",
 
                         "description": "Puts the file into Category:Copy to Wikimedia Commons (inline-identified) instead of Category:Copy to Wikimedia Commons",
 
                         "description": "Puts the file into Category:Copy to Wikimedia Commons (inline-identified) instead of Category:Copy to Wikimedia Commons",
                         "type": "string",
+
                         "type": "line",
 
                         "required": false
 
                         "required": false
 
                 }
 
                 }
Line 75: Line 52:
  
 
==Redirects==
 
==Redirects==
{{col-begin|width=auto}}
+
{{div col|colwidth=22em}}
{{col-break}}
 
 
* {{tlx|Commons ok}}
 
* {{tlx|Commons ok}}
 
* {{tlx|Copy to commons}}
 
* {{tlx|Copy to commons}}
 
* {{tlx|Copy to Commons}}
 
* {{tlx|Copy to Commons}}
 
* {{tlx|CtC}}
 
* {{tlx|CtC}}
{{col-break}}
 
 
* {{tlx|Movetocommons}}
 
* {{tlx|Movetocommons}}
 
* {{tlx|MoveToCommons}}
 
* {{tlx|MoveToCommons}}
 
* {{tlx|Move to commons}}
 
* {{tlx|Move to commons}}
{{col-break}}
 
 
* {{tlx|Move to Commons}}
 
* {{tlx|Move to Commons}}
 
* {{tlx|MTC}}
 
* {{tlx|MTC}}
 
* {{tlx|To Commons}}
 
* {{tlx|To Commons}}
{{col-end}}
+
{{div col end}}
  
 
== See also ==
 
== See also ==
* {{tl|Now Commons}}, for tagging files for deletion after being moved to Commons
+
* {{Tl|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
+
* {{Tl|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
+
* {{Tl|Deleted on Commons}}, for tagging files that were deleted on Commons
* {{tl|Incomplete move to Commons}}
+
* {{Tl|Incomplete move to Commons}}
 +
* {{tl|Esoteric file}}, for files that are Wikipedia-specific and should not be moved to Commons
  
 
* [[Wikipedia:Moving files to the Commons]], for usage description.
 
* [[Wikipedia:Moving files to the Commons]], for usage description.
Line 102: Line 77:
 
* [[Wikipedia:WikiProject Images and Media/Commons]].
 
* [[Wikipedia:WikiProject Images and Media/Commons]].
  
{{transwiki maintenance}}<includeonly>
+
{{transwiki maintenance}}
 
+
<includeonly>{{Sandbox other||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Transwiki templates]]
 
[[Category:Transwiki templates]]
 
[[Category:File maintenance templates]]
 
[[Category:File maintenance templates]]
 
[[Category:Wikimedia Commons templates]]
 
[[Category:Wikimedia Commons templates]]
[[Category:Copy to Wikimedia Commons]]
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 00:28, 19 September 2020

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 contains a self-reference (it refers to the encyclopaedia in its contents).

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
Mark datedate

The date the file has been suggested for transfer to Commons

Dateoptional
Bot namebot

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

Useroptional
Reviewing userhuman

Name of human reviewer

Useroptional
inline-identifiedinline

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

Lineoptional

Redirects

See also

Template:Transwiki maintenance