Jump to content

Template:Dated prod: Difference between revisions

From IdeaWazaWiki
wikademia>Lucasbfr
fixed expired prod test, moved the deletion text near the expired prod text (more visible, and only available after the prod has expired)
wikademia>Lucasbfr
fixed expired prod test, moved the deletion text near the expired prod text (more visible, and only available after the prod has expired)
Line 30: Line 30:
}}{{#if: {{{day|{{{month|{{{year|}}}}}}}}}
}}{{#if: {{{day|{{{month|{{{year|}}}}}}}}}
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +5 days}}
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +5 days}}
|:<small><code><span id="raw-delete-reason">Expired <nowiki>[[WP:PROD|prod]]</nowiki>, concern was: {{msgnw:#if:||{{{concern|{{{1|}}}}}}}}</span></code> ([{{fullurl:{{FULLPAGENAME}}|{{#if:{{{1|}}}{{{concern|}}}|wpReason={{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{1|}}}{{{concern|}}}}}&|}}action=delete}} delete])</small>
|:<small><code><span id="raw-delete-reason">Expired <nowiki>[[WP:PROD|prod]]</nowiki>, concern was: {{msgnw:#if:||{{{concern|{{{1|}}}}}}}}</span></code>  <span class="plainlinks">([{{fullurl:{{FULLPAGENAME}}|{{#if:{{{1|}}}{{{concern|}}}|wpReason={{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{1|}}}{{{concern|}}}}}&|}}action=delete}} delete])</span></small>
}}}}
}}}}
<!-- Pages proposed for deletion are listed on [[CAT:PROD]]. -->
<!-- Pages proposed for deletion are listed on [[CAT:PROD]]. -->
Line 40: Line 40:
}}
}}
<small>'''Nominator:''' Please consider notifying the <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} author(s)]</span> of this page using</small>
<small>'''Nominator:''' Please consider notifying the <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} author(s)]</span> of this page using</small>
:<small><code><nowiki>{{subst:prodwarning|</nowiki>{{FULLPAGENAME}}}} <nowiki>~~~~</nowiki></code></small> <span class="plainlinks" style="float:right">[{{fullurl:{{FULLPAGENAME}}|{{#if:{{{1|}}}{{{concern|}}}|wpReason={{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{1|}}}{{{concern|}}}}}&|}}action=delete}} delete]</span>
:<small><code><nowiki>{{subst:prodwarning|</nowiki>{{FULLPAGENAME}}}} <nowiki>~~~~</nowiki></code></small>
<includeonly>
<includeonly>
[[Category:Proposed deletion as of {{{day|}}} {{{month|unknown date}}} {{{year|{{CURRENTYEAR}}}}}]]
[[Category:Proposed deletion as of {{{day|}}} {{{month|unknown date}}} {{{year|{{CURRENTYEAR}}}}}]]

Revision as of 07:15, 7 June 2007


Note: This template should not be used directly; {{subst:prod|reason}} should be used instead. The subst: part is important for technical reasons explained in the talk page. This template should not be subst: itself (that is, do not use {{subst:dated prod|...}}). Please remember to use an edit summary when either proposing an article for deletion, or when removing the prod tag.

This template will categorize articles into Category:All articles proposed for deletion and, if used correctly the appropriate dated sub-category (if used incorrectly it puts the article in Category:Proposed deletion as of unknown date 2026 instead). See WP:PROD for how Proposed Deletion works.