Difference between revisions of "Template:Prod"

662 bytes added ,  09:24, 8 May 2010
no edit summary
imported>Darkness X
imported>Darkness X
Line 1: Line 1:
<noinclude><div style="margin:0 5%; padding:.5em; background:#FFFFEE; border:1px solid #999; text-align:left; font-size:95%;">
<noinclude>
; This article has been proposed for deletion because of the following concern<nowiki>:</nowiki>
* Format: <nowiki>{{Prod|Reason}}</nowiki>. By default, this will mark the article for deletion after 14 days (if the page isn't edited). You can change this with an extra parameter:
* Format: <nowiki>{{Prod|Reason|Number of days}}</nowiki>.


:''{{{1|No reason given.}}}''
Placing this template on the top of a page will list that page on [[:Category: Proposed for Deletion]]


If you can address this concern by improving the article, please edit this page and do so. You may remove this notice if you improve this article or object to this deletion for any reason. To avoid confusion, please explain why you contest the deletion on your edit summary and on this page's [[{{TALKSPACE}}:{{PAGENAME}}|talk page]].
<div id="catlinks" style="width: 90%; margin: 0.5em auto; border-style: solid;"><div style="float: left; margin: 5px 1em 5px 0.5em;">[[Image:FeaturedIcon.png| Proposed for Deletion]]</div><div style="text-align: left; font-size: 1.2em; letter-spacing: 0.10em; word-spacing: 0.25em; font-weight: bolder;"> Proposed for Deletion </div><div style="text-align: right;"><span style="font-size:0.8em;font-weight:bold;">Article will be [[:Category:Articles for Deletion|marked for deletion]] in 14 days!</span></div>
 
Article will be [[:Category:Articles_for_Deletion|marked for deletion]] in 14 days.
</div>
----
----
*Format: <nowiki>{{Prod|Reason}}</nowiki>
**By default, this will mark the article for deletion after 14 days (if the page isn't edited). You can change this with an extra parameter - Format: <nowiki>{{Prod|Reason|Number of days}}</nowiki>
*Placing this template on the top of a page will list that page on [[:Category: Proposed for Deletion]].
</noinclude>
<includeonly>{{ #ifexpr: (({{#time: Y | {{CURRENTTIMESTAMP}}}} - {{#time: Y | {{REVISIONTIMESTAMP}}}}) * (365 + {{#time: L | {{REVISIONYEAR}}}})) + ({{#time: z | {{CURRENTTIMESTAMP}}}} - {{#time: z | {{REVISIONTIMESTAMP}}}}) > {{{2|14}}} | {{afd}} | <div style="margin:0 5%; padding:.5em; background:#FFFFEE; border:1px solid #999; text-align:left; font-size:95%;">
; This article has been proposed for deletion because of the following concern<nowiki>:</nowiki>
; This article has been proposed for deletion because of the following concern<nowiki>:</nowiki>


:''{{{1|No reason given.}}}''
:''{{{1|No reason given.}}}''


If you can address this concern by improving the article, please edit this page and do so. You may remove this notice if you improve this article or object to this deletion for any reason. To avoid confusion, please explain why you contest the deletion on your edit summary and on this page's [[{{TALKSPACE}}:{{PAGENAME}}|talk page]].
If you can address this concern by improving the article, please edit this page and do so. You may remove this notice if you improve this article or object to this deletion for any reason. To avoid confusion, please explain why you contest the deletion on your edit summary and on this [[{{TALKSPACE}}:{{PAGENAME}}|talk page]].
 
<div style="clear: both;"></div>
Article will be [[:Category:Articles_for_Deletion|marked for deletion]] {{#switch: {{#expr: {{{2|14}}} - (({{#time: Y | {{CURRENTTIMESTAMP}}}} - {{#time: Y | {{REVISIONTIMESTAMP}}}}) * (365 + {{#time: L | {{REVISIONYEAR}}}})) + ({{#time: z | {{CURRENTTIMESTAMP}}}} - {{#time: z | {{REVISIONTIMESTAMP}}}})}}|1 = tomorrow|0 = later today |in {{#expr: {{{2|14}}} - (({{#time: Y | {{CURRENTTIMESTAMP}}}} - {{#time: Y | {{REVISIONTIMESTAMP}}}}) * (365 + {{#time: L | {{REVISIONYEAR}}}})) + ({{#time: z | {{CURRENTTIMESTAMP}}}} - {{#time: z | {{REVISIONTIMESTAMP}}}})}} days}}.
</div>
</div>[[Category: Proposed for Deletion]]}}</includeonly>


<!-- New formula broken down so it's easier to read
<!-- New formula broken down so it's easier to read
Line 34: Line 25:
     = (((Current year)-(Revision year)) * (365+(1 if Revision year was a leap year)))  
     = (((Current year)-(Revision year)) * (365+(1 if Revision year was a leap year)))  
-->
-->
<noinclude>
[[Category: Article Tags|Template:Prod]]
[[Category: Article Tags|Template:Prod]]
[[Category: Templates|Prod]]
[[Category: Templates|Prod]]
[[Category: Article Tag Templates|Prod]]
[[Category: Article Tag Templates|Prod]]
</noinclude>
</noinclude>
<includeonly>
{{ #ifexpr: (({{#time: Y | {{CURRENTTIMESTAMP}}}} - {{#time: Y | {{REVISIONTIMESTAMP}}}}) * (365 + {{#time: L | {{REVISIONYEAR}}}})) + ({{#time: z | {{CURRENTTIMESTAMP}}}} - {{#time: z | {{REVISIONTIMESTAMP}}}}) > {{{2|14}}} | {{afd}} | <div id="catlinks" style="width: 90%; margin: 0.5em auto; border-style: solid;"><div style="float: left; margin: 5px 1em 5px 0.5em;">[[Image:FeaturedIcon.png| Proposed for Deletion]]</div><div style="text-align: left; font-size: 1.2em; letter-spacing: 0.10em; word-spacing: 0.25em; font-weight: bolder;"> Proposed for Deletion </div><div style="text-align: right;"><span style="font-size:0.8em;font-weight:bold;">Article will be [[:Category:Articles for Deletion|marked for deletion]]!</span></div>
----
; This article has been proposed for deletion because of the following concern<nowiki>:</nowiki>
:''{{{1|No reason given.}}}''
If you can address this concern by improving the article, please edit this page and do so. You may remove this notice if you improve this article or object to this deletion for any reason. To avoid confusion, please explain why you contest the deletion on your edit summary and on this [[{{TALKSPACE}}:{{PAGENAME}}|talk page]].
<div style="clear: both;"></div>
</div>{{#switch: {{#expr: {{{2|14}}} - (({{#time: Y | {{CURRENTTIMESTAMP}}}} - {{#time: Y | {{REVISIONTIMESTAMP}}}}) * (365 + {{#time: L | {{REVISIONYEAR}}}})) + ({{#time: z | {{CURRENTTIMESTAMP}}}} - {{#time: z | {{REVISIONTIMESTAMP}}}})}}|1 = tomorrow|0 = later today |in {{#expr: {{{2|14}}} - (({{#time: Y | {{CURRENTTIMESTAMP}}}} - {{#time: Y | {{REVISIONTIMESTAMP}}}}) * (365 + {{#time: L | {{REVISIONYEAR}}}})) + ({{#time: z | {{CURRENTTIMESTAMP}}}} - {{#time: z | {{REVISIONTIMESTAMP}}}})}} days}}.
</div>[[Category: Proposed for Deletion]]}}
</includeonly>
Anonymous user