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

From blackwiki
Jump to navigation Jump to search
imported>Stefan2
m (syntax)
imported>Fred Gandt
(compromise? fewer examples but complete syntax)
Line 5: Line 5:
 
| Or-fu-re =
 
| Or-fu-re =
 
=== Parameter ===
 
=== Parameter ===
 
 
}}{{#switch: {{BASEPAGENAME}}
 
}}{{#switch: {{BASEPAGENAME}}
 
  | Npd =
 
  | Npd =
* <code>source</code> - the source of the image (URL, or name of web site/organization)
+
: <code><nowiki>{{subst:Npd|source=url}}</nowiki></code> - the source of the image (URL, or name of web site/organization)
 
  | Rfu | Dfu =
 
  | Rfu | Dfu =
* <code>reason</code> - the reason for deletion.
+
: <code><nowiki>{{subst:</nowiki>{{BASEPAGENAME}}<nowiki>|reason=the reason for deletion}}</nowiki></code>
 
  | Or-fu-re =
 
  | Or-fu-re =
* <code>replacement</code> - replacement image.
+
: <code><nowiki>{{subst:Or-fu-re|replacement=replacement image}}</nowiki></code>
 
}}
 
}}

Revision as of 19:54, 16 March 2016

Usage

Place {{subst:File deletion template notice}} on the relevant page. This will automatically transclude the relevant template and add the date to it.