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

From blackwiki
Jump to navigation Jump to search
imported>Minorax
(update)
imported>Tacsipacsi
(→‎TemplateData: label is not for short stories, it should be kept as short as possible, otherwise some clients may cut the end (which was the most important part in this case, containing “inline-identified”); fix data types)
Line 25: Line 25:
 
         "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 43: Line 43:
 
                 },
 
                 },
 
                 "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
 
                 }
 
                 }

Revision as of 12:22, 4 January 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 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
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