Difference between revisions of "Template:Delrev"
Jump to navigation
Jump to search
imported>Tothwolf (Use page= parameter instead of template= for Template: detection, better category logic code) |
imported>Tothwolf (Fixed namespace detection logic bugs) |
||
| Line 1: | Line 1: | ||
{{#switch:{{#if:{{{page|}}} | {{#switch:{{#if:{{{page|}}} | ||
|{{#ifeq:{{NAMESPACE:{{{page}}}}}|Template | |{{#ifeq:{{NAMESPACE:{{{page}}}}}|Template | ||
| − | |{{# | + | |{{#ifeq:{{NAMESPACE}}|Template||tfd |
}} | }} | ||
}} | }} | ||
| Line 10: | Line 10: | ||
| image = none | | image = none | ||
| text = '''A decision in a [[Wikipedia:Deletion process|deletion process]] of which this page is the subject is being [[Wikipedia:Deletion review{{#if:{{{date|{{{2|}}}}}}|/Log/{{{date|{{{2}}}}}}}}#{{{page|{{{1|{{FULLPAGENAME}}}}}}}}|discussed]] in a [[Wikipedia:Deletion review|deletion review]]'''. Those interested may participate in the discussion. While the discussion is in progress, this page may be edited, but do not blank or redirect this page, or remove this notice from the page. | | text = '''A decision in a [[Wikipedia:Deletion process|deletion process]] of which this page is the subject is being [[Wikipedia:Deletion review{{#if:{{{date|{{{2|}}}}}}|/Log/{{{date|{{{2}}}}}}}}#{{{page|{{{1|{{FULLPAGENAME}}}}}}}}|discussed]] in a [[Wikipedia:Deletion review|deletion review]]'''. Those interested may participate in the discussion. While the discussion is in progress, this page may be edited, but do not blank or redirect this page, or remove this notice from the page. | ||
| − | }}<includeonly>{{#if:{{#ifeq:{{NAMESPACE}}|Template|{{#ifeq:{{FULLPAGENAME}}|{{{page}}}|x}}|x}}|[[Category:Articles on deletion review]]}}</includeonly> | + | }}<includeonly>{{#if:{{#ifeq:{{NAMESPACE}}|Template|{{#ifeq:{{FULLPAGENAME}}|{{{page}}}|x}}|{{#ifeq:{{NAMESPACE:{{{page}}}}}|Template||x}}}}|[[Category:Articles on deletion review]]}}</includeonly> |
}}<noinclude>{{Documentation}} | }}<noinclude>{{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:11, 30 December 2010
| A decision in a deletion process of which this page is the subject is being discussed in a deletion review. Those interested may participate in the discussion. While the discussion is in progress, this page may be edited, but do not blank or redirect this page, or remove this notice from the page. |
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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 23}}
See also
- {{TempUndelete}}
| The above documentation is transcluded from Template:Delrev/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |