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

From blackwiki
Jump to navigation Jump to search
imported>Letcreate123
m
imported>Zyxw
(add {{TemplateData header}} before <templatedata>)
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]]) -->
<!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE -->
 
  
 
{{deletiontools|all=0|afd=1|merge=1|move=1|transwiki=1}}
 
{{deletiontools|all=0|afd=1|merge=1|move=1|transwiki=1}}
Line 34: Line 33:
 
* 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]].
 
* 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]].
  
==Template data==
+
==TemplateData==
 +
{{TemplateData header}}
 
<TemplateData>
 
<TemplateData>
 
{
 
{
Line 96: Line 96:
 
{{transwiki maintenance}}<includeonly>
 
{{transwiki maintenance}}<includeonly>
  
<!-- CATEGORIES HERE, THANKS -->
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
+
<!-- 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]]
 
[[Category:Copy to Wikimedia Commons]]
 
+
}}</includeonly>
</includeonly>
 

Revision as of 20:50, 8 September 2015

Usage

Template:Details3

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.

Usage: simple

  • {{Copy to Wikimedia Commons}}

Will send the file to Category:Copy to Wikimedia Commons.

Usage: detailed

  • {{Copy to Wikimedia Commons|bot=Botname|date=January 2026}}
  • {{Copy to Wikimedia Commons|priority=true}}
  • {{Copy to Wikimedia Commons|human=username}}

Some parameters can be used together and some should not be used together:

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
Priority for MtC drivespriority

Put 'true' if it is a priority file in an MtC drive

Stringoptional
Reviewing userhuman

Name of human reviewer

Useroptional

Redirects

See also

Template:Transwiki maintenance