Difference between revisions of "Template:Keep local/doc"

From blackwiki
Jump to navigation Jump to search
imported>Leyo
(add info about category)
imported>JJMC89
(remove cats from sandbox)
 
(15 intermediate revisions by 12 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
{{Twinkle standard installation}}
  
 
== Usage ==
 
== Usage ==
{{tlx|KeepLocal}} will give the default request to keep the local file:
+
{{tlx|Keep local}} will give the default request to keep the local file:
  
{{KeepLocal}}
+
{{Keep local}}
  
If the file is on Commons under a different name, this can be accomplished with {{tlx|KeepLocal|PAGENAME ON COMMONS}} where ''PAGENAME ON COMMONS'' is the name of the page on commons with the duplicate file.
+
If the file is on Commons under a different name, you can add {{tlx|Keep local|PAGENAME ON COMMONS}}, where ''PAGENAME ON COMMONS'' is the name of the page on Commons of the duplicate file.
  
{{KeepLocal|SOMEPAGENAME}}
+
{{Keep local|SOMEPAGENAME}}
 +
 
 +
If you want to add why this file should not be deleted, you can write <nowiki>{{Keep local|SOMEPAGENAME|reason=add your reason here}}</nowiki>, though this is not required.
 +
 
 +
{{Keep local|SOMEPAGENAME|reason=...}}
  
 
This template categorized into [[:Category:Wikipedia files on Wikimedia Commons for which a local copy has been requested to be kept]].
 
This template categorized into [[:Category:Wikipedia files on Wikimedia Commons for which a local copy has been requested to be kept]].
 +
 +
==Parameters==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"1": {
 +
"label": "Name on commons",
 +
"description": "The pagename of this file on commons, if different from here"
 +
},
 +
"reason": {
 +
"description": "Why we want to keep a local copy",
 +
"type": "string",
 +
"suggested": true
 +
}
 +
}
 +
}
 +
</templatedata>
 +
  
 
== See also ==
 
== See also ==
 
*{{tl|Do not move to Commons}}
 
*{{tl|Do not move to Commons}}
*{{tl|NowCommons}}
+
*{{tl|Now Commons}}
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
*{{tl|Esoteric file}}
 +
*{{tl|Incomplete move to Commons}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:File maintenance templates|{{PAGENAME}}]]
 
[[Category:File maintenance templates|{{PAGENAME}}]]
 
[[Category:Wikimedia Commons templates]]
 
[[Category:Wikimedia Commons templates]]
 
[[be:Template:KeepLocal]]
 
[[be:Template:KeepLocal]]
</includeonly>
+
[[ms:Templat:Simpan tempatan]]
 +
[[sl:Predloga:Ohrani lokalno]]
 +
}}</includeonly>

Latest revision as of 05:59, 19 July 2018

Usage

{{Keep local}} will give the default request to keep the local file:

If the file is on Commons under a different name, you can add {{Keep local|PAGENAME ON COMMONS}}, where PAGENAME ON COMMONS is the name of the page on Commons of the duplicate file.

If you want to add why this file should not be deleted, you can write {{Keep local|SOMEPAGENAME|reason=add your reason here}}, though this is not required.

This template categorized into Category:Wikipedia files on Wikimedia Commons for which a local copy has been requested to be kept.

Parameters

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 Keep local

No description.

Template parameters

ParameterDescriptionTypeStatus
Name on commons1

The pagename of this file on commons, if different from here

Unknownoptional
Reasonreason

Why we want to keep a local copy

Stringsuggested


See also