Difference between revisions of "Template:Delrev"

From blackwiki
Jump to navigation Jump to search
imported>Tothwolf
(Fixed namespace detection logic bugs)
imported>Tothwolf
(Added conditional to display small notice instead of full notice when transcluded within the Template: namespace)
Line 1: Line 1:
 
{{#switch:{{#if:{{{page|}}}
 
{{#switch:{{#if:{{{page|}}}
 
   |{{#ifeq:{{NAMESPACE:{{{page}}}}}|Template
 
   |{{#ifeq:{{NAMESPACE:{{{page}}}}}|Template
     |{{#ifeq:{{NAMESPACE}}|Template||tfd
+
     |{{#ifeq:{{NAMESPACE}}|Template
 +
        |{{#ifeq:{{FULLPAGENAME}}|{{{page}}}
 +
          ||tfd
 +
        }}
 +
        |tfd
 
       }}
 
       }}
 
   }}
 
   }}

Revision as of 13:38, 30 December 2010

Template documentation[view] [edit] [history] [purge]

Usage

This template adds pages to Category:Articles on deletion review.

This template takes two optional parameters, |page= and |date=.

  • |page= is the name of the subheader the page appears under at the deletion review, if different from the page name
  • |date= is the date of the log page of the deletion review

Do not substitute this template.

Example: {{Delrev|date=2026 April 22}}

See also