Difference between revisions of "Template:File deletion template notice"

From blackwiki
Jump to navigation Jump to search
imported>Stefan2
imported>Fred Gandt
(updated documentation per edit request on Rfu)
Line 1: Line 1:
<includeonly>{{Subst only|auto={{#ifeq:{{#titleparts:{{PAGENAME}}||-1}}|doc|no|yes}}}}</includeonly>
 
 
==Usage==
 
==Usage==
 
Place {{tls|{{BASEPAGENAME}}}} on the relevant page. This will automatically transclude the relevant template and add the date to it.
 
Place {{tls|{{BASEPAGENAME}}}} on the relevant page. This will automatically transclude the relevant template and add the date to it.
 
+
{{#switch: {{BASEPAGENAME}} | Npd | Rfu | Dfu =
{{#ifeq: {{BASEPAGENAME}} | Npd |
+
=== Optional parameter ===
=== Optional parameters ===
+
| Or-fu-re =
* <code>source</code> - the source of the image (URL, or name of web site/organization)
+
=== Parameter ===
 +
}}{{#switch: {{BASEPAGENAME}}
 +
| Npd =
 +
: <code><nowiki>{{subst:Npd|source=url}}</nowiki></code> - the source of the image (URL, or name of web site/organization)
 +
| Rfu | Dfu =
 +
: <code><nowiki>{{subst:</nowiki>{{BASEPAGENAME}}<nowiki>|reason=the reason for deletion}}</nowiki></code>
 +
| Or-fu-re =
 +
: <code><nowiki>{{subst:Or-fu-re|replacement=replacement image}}</nowiki></code>
 
}}
 
}}
  

Revision as of 11:52, 18 March 2016