Difference between revisions of "Template:Deleted on Commons/doc"

From blackwiki
Jump to navigation Jump to search
imported>Fastily
m (→‎Usage: add usage note)
imported>Fastily
(c/e)
Line 10: Line 10:
 
         "1": {
 
         "1": {
 
             "label": "File",
 
             "label": "File",
             "description": "The specified file, which was deleted on Commons",
+
             "description": "The file name of the file deleted on Commons, excluding the <code>File:</code> namespace prefix",
 
             "type": "string"
 
             "type": "string"
 
         }
 
         }
Line 17: Line 17:
 
</templatedata>
 
</templatedata>
  
*{{Comment|Note}}: This template categorizes files in [[:Category:Files deleted on Wikimedia Commons]].
+
*{{Comment|Note}}: This template categorizes files into [[:Category:Files deleted on Wikimedia Commons]].
  
 
== Examples ==
 
== Examples ==
Line 26: Line 26:
 
{{Deleted on Commons}}
 
{{Deleted on Commons}}
 
|
 
|
With the specified file
+
With a specified file
 
<pre>{{Deleted on Commons|Example.svg}}</pre>
 
<pre>{{Deleted on Commons|Example.svg}}</pre>
 
|
 
|

Revision as of 01:05, 1 April 2016

Usage

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 Deleted on Commons

Template for marking files deleted on Commons

Template parameters

ParameterDescriptionTypeStatus
File1

The file name of the file deleted on Commons, excluding the <code>File:</code> namespace prefix

Stringoptional

Examples

Markup Renders as
Default
{{Deleted on Commons}}
With a specified file
{{Deleted on Commons|Example.svg}}

See also