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

From blackwiki
Jump to navigation Jump to search
imported>Rezonansowy
(Adding TemplateData)
imported>JJMC89
(+cat)
 
(4 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
<templatedata>
 
<templatedata>
 
{
 
{
     "description": "Displays a terminal window with a set of commands.",
+
     "description": "Template for marking files deleted on Commons",
 
     "params": {
 
     "params": {
 
         "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 16: Line 16:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
*{{A note}}: This template categorizes files into [[:Category:Files deleted on Wikimedia Commons]].
  
 
== Examples ==
 
== Examples ==
Line 24: 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>
 
|
 
|
Line 37: Line 39:
 
*{{tl|Esoteric file}}
 
*{{tl|Esoteric file}}
  
<includeonly>
+
<includeonly>{{sandbox other||
 
<!-- CATEGORIES HERE, THANKS -->
 
<!-- CATEGORIES HERE, THANKS -->
 
[[Category:File namespace templates]]
 
[[Category:File namespace templates]]
 
[[Category:Wikimedia Commons templates]]
 
[[Category:Wikimedia Commons templates]]
</includeonly>
+
[[Category:Files deleted on Wikimedia Commons| ]]
 +
}}</includeonly>

Latest revision as of 06:52, 2 June 2019

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