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

From blackwiki
Jump to navigation Jump to search
imported>Fred Gandt
(updated documentation per edit request on Rfu)
imported>Stefan2
(It seems that we didn't properly check how the parameters work - fixing a parameter name.)
Line 1: Line 1:
 
==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 =
+
{{#switch: {{BASEPAGENAME}} | Npd | Rfu | Dfu | Or-fu-re =
 
=== Optional parameter ===
 
=== Optional parameter ===
| Or-fu-re =
+
| Orfur =
 
=== Parameter ===
 
=== Parameter ===
 
}}{{#switch: {{BASEPAGENAME}}
 
}}{{#switch: {{BASEPAGENAME}}
Line 10: Line 10:
 
  | Rfu | Dfu =
 
  | Rfu | Dfu =
 
: <code><nowiki>{{subst:</nowiki>{{BASEPAGENAME}}<nowiki>|reason=the reason for deletion}}</nowiki></code>
 
: <code><nowiki>{{subst:</nowiki>{{BASEPAGENAME}}<nowiki>|reason=the reason for deletion}}</nowiki></code>
  | Or-fu-re =
+
  | Or-fu-re | Orfur =
: <code><nowiki>{{subst:Or-fu-re|replacement=replacement image}}</nowiki></code>
+
: <code><nowiki>{{subst:</nowiki>{{BASEPAGENAME}}<nowiki>|replacement image}}</nowiki></code>
 
}}
 
}}
  

Revision as of 12:47, 18 March 2016