Difference between revisions of "Template:Book-prod/dated"

From blackwiki
Jump to navigation Jump to search
imported>Lectonar
m (Changed protection level for "Template:Dated book prod": request at RFPP ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
imported>Train2104
(Syncing with sandbox, revised template based on the main PROD template)
Line 1: Line 1:
<!-- START OF DATED PROD TEMPLATE -->
+
{{ombox
<!-- do not use this template directly; use {{subst:book-prod|reason}} instead -->
+
|type=delete
{{mbox|type=delete|image=none|text=
+
|image=none
<includeonly>{{#switch:{{NAMESPACE}}
+
|class=mbox-prod
| Book =
+
|text={{book other|demospace={{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|book}}
| User = <!-- let's just assume it's a user book -->
+
||2={{user other||{{error|message=Please use Book PROD only on [[WP:Books|books]]. For articles, use {{tl|PROD}} instead. }}[[Category:Proposed deletions needing attention|N{{PAGENAME}}]]<br/>
| #default = <span class="error" style="font-size:200%">Please use BOOK-PROD only on [[WP:Books|books]]. For articles, used{{tl|PROD}} instead.</span>
+
}}}}It is '''[[Wikipedia:Proposed deletion (books)|proposed that this Wikipedia book be deleted]]'''{{#if: {{{concern|{{{reason|{{{1|}}}}}}}}}
}}</includeonly>
+
|&#32;because of the following concern:
It is proposed that this [[WP:Books|Wikipedia book]] be '''[[Wikipedia:Proposed deletion (books)|deleted]]'''{{#if: {{{concern|{{{reason|{{{1|}}}}}}}}}|&#32;because of the following concern:|.}}
+
|.
:<b>{{{concern|{{{reason|{{{1|}}}}}}}}}</b>
+
}}
 
+
<blockquote>{{{concern|{{{reason|{{{1|}}}}}}}}}</blockquote>
If you can address this concern, '''please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit the book]''' and do so. ''You may remove this message if you improve the book or otherwise object to deletion for '''any''' reason.'' However please explain why you object to the deletion, either in your [[Help:Edit summary|edit summary]] or on the [[{{TALKPAGENAME}}|talk page]]. If you proposed the deletion, and the reason for objection did not convince you, do not propose deletion again, but rather send this book to [[WP:MfD|Miscellany for Discussion]]. Please '''do not''' add the {{tl|hangon}} tag to challenge a proposed deletion unless the article has also been nominated for [[Wikipedia:Criteria for speedy deletion|speedy deletion]]. <span id="delete-criterion" style="display:none;">PROD</span>
+
<p class="verbose">If you can address this concern, '''please [{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this book]''' and do so. ''You may remove this message if you improve this book or otherwise object to deletion for '''any''' reason''.  Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, '''[[Wikipedia:Proposed deletion (books)#If you were sent here|do not replace it]]'''.</p>
  
{{#if: {{{day|{{{month|{{{year|{{{time|}}}}}}}}}}}}
+
{{#ifexpr:{{#time:U}}>{{#time:U|{{{timestamp|20200000000000}}} +7 days}}
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +7 days}}
+
|{{color|red|This message has remained in place for seven days, so this book may be deleted without further notice.}}{{category handler
|<span style="color:red">'''The book may be deleted without further notice since this message has remained in place for seven days.'''</span><includeonly>[[Category:Expired proposed deletions]]</includeonly><span id="delete-reason" style="display:none;">{{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{concern|{{{reason|{{{1|}}}}}}}}} }}</span>
+
  |all=[[Category:Expired proposed deletions]]
|The book may be deleted if this message remains in place for seven days.<span id="delete-reason" style="display:none;">{{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{concern|{{{reason|{{{1|}}}}}}}}} }}</span>  
+
  |nocat={{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|true}}
 +
}}
 +
|This book may be deleted if this message remains in place for seven days{{#if:{{{timestamp|}}}
 +
  |, i.e., after {{#time:H:i, j F Y|{{{timestamp}}} +7 days}} (UTC)
 +
  |. Please check the {{history|{{FULLPAGENAME}}|history}} to see when this template was added
 +
}}.
 +
}}<br/>
 +
<small class="verbose">If you created the book, please don't be offended. Instead, consider improving the book so that it is acceptable according to the [[Wikipedia:Deletion policy|deletion policy]].</small><span style="display:none; speak:none;"><!--
 +
--><span id="delete-criterion">PROD</span><!--
 +
--><span id="delete-reason">{{urlencode:Expired [[WP:BPROD|Book PROD]], concern was: {{{concern|{{{reason|{{{1|}}}}}}}}} }}</span><!--
 +
--><span id="raw-delete-reason">Expired <nowiki>[[WP:BPROD|book prod]]</nowiki>, concern was: {{{concern|{{{reason|{{{1|}}}}}}}}}</span><!--
 +
--></span>
 +
{{#ifeq:{{{help}}}|off||----
 +
<small><span class="verbose prod-notify-code">'''Nominator:''' Please consider notifying the author: <code>{{tlsp|link subst=no|bprodwarning|2={{FULLPAGENAME}}|3=concern={{#tag:nowiki|{{{concern|{{{reason|{{{1|}}}}}}}}}}}}} <nowiki>~~~~</nowiki></code></span></small>}}{{#ifexpr:{{#time:U}}>{{#time:U|{{{timestamp|20200000000000}}} +7 days}}
 +
|{{#ifeq:{{{help}}}|off|----|<br/>}}{{#if:{{{timestamp|}}}
 +
|<small>'''Timestamp:''' {{{timestamp}}} {{#time:H:i, j F Y|{{{timestamp}}}}} (UTC)
 +
}}<br/><span class="sysop-show">'''Administrators:''' [{{fullurl:{{FULLPAGENAME}}|wpReason={{urlencode:Expired [[WP:BPROD|Book PROD]], concern was: {{{reason|{{{1|{{{concern|}}}}}}}}}}}&action=delete}} delete]</span></small>
 
}}
 
}}
This template was added '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}}}}'''; seven days from then is '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +7 days}}'''.
+
}}{{category handler
|The book may be deleted if this message remains in place for seven days. Please check the history to see when this template was added.<span id="delete-reason" style="display:none;">{{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{concern|{{{reason|{{{1|}}}}}}}}} }}</span>
+
|all={{#if:{{{timestamp|}}}
}}{{#if: {{{day|{{{month|{{{year|}}}}}}}}}
+
  |[[Category:Proposed deletion as of {{#time:j F Y|{{{timestamp}}}}}]]
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +7 days}}
+
  |[[Category:Proposed deletions needing attention|U{{PAGENAME}}]]
|:<small><code><span id="raw-delete-reason">Expired <nowiki>[[WP:PROD|prod]]</nowiki>, concern was: {{msgnw:#if:||{{{concern|{{{reason|{{{1|}}}}}}}}}}}</span></code> <span class="plainlinks">([{{fullurl:{{FULLPAGENAME}}|{{#if:{{{reason|{{{1|}}}}}}{{{concern|}}}|wpReason={{urlencode:Expired [[WP:PROD|PROD]], concern was: {{{reason|{{{1|}}}}}}{{{concern|}}}}}&|}}action=delete}} delete])</span></small>
+
}}[[Category:All books proposed for deletion|{{mod|{{#time:j|{{{timestamp}}}}}|10}}{{PAGENAME}}]]
}}}}
+
|nocat={{#ifeq:{{{demo|<noinclude>yes</noinclude>}}}|yes|true}}
<!-- Pages proposed for deletion are listed on [[CAT:PROD]]. -->
+
}}<includeonly>{{NOINDEX}}</includeonly><noinclude>
 
 
<small>If you created the book, please don't be offended. Instead, consider improving the book so that it is acceptable according to the [[Wikipedia:Deletion policy|deletion policy]].</small>
 
 
 
<hr /><small><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=history}} Author(s)]</span> notification template: <code><nowiki>{{subst:bprodwarning|</nowiki>{{FULLPAGENAME}}<nowiki>|concern = </nowiki>{{#tag:nowiki|{{{concern|{{{reason|{{{1|}}}}}}}}}}}<nowiki>}}
 
</nowiki></code></small>
 
<includeonly>
 
[[Category:Proposed deletion as of {{{day|}}} {{{month|unknown date}}} {{{year|{{CURRENTYEAR}}}}}]]
 
[[Category:All books proposed for deletion]]
 
</includeonly>
 
}}<!--- END OF DATED PROD TEMPLATE --><noinclude>
 
 
{{documentation}}
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 14:18, 21 February 2017

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

{{Wikipedia:Article alerts/Bot use warning}}

Usage

This template should not be used directly; {{subst:book-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 book prod|...}}). Please remember to use an edit summary when proposing a page for deletion or removing the prod tag.

This template will categorize pages into Category:All books proposed for deletion and, if used correctly the appropriate dated sub-category (if used incorrectly it puts the article in Category:Proposed deletions needing attention instead). See WP:BPROD for how Proposed Deletion works for books.

See also

Template:Proposed deletion templates