Jump to content

Template:Dated prod: Difference between revisions

From IdeaWazaWiki
wikademia>L'Aquatique
per request at Template talk:Dated prod
wikademia>Happy-melon
use spans with correct ids to allow deletion summary to be autofilled
Line 10: Line 10:
{{#if: {{{day|{{{month|{{{year|{{{time|}}}}}}}}}}}}
{{#if: {{{day|{{{month|{{{year|{{{time|}}}}}}}}}}}}
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +5 days}}
|{{#ifexpr: {{#time:U}} > {{#time:U|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +5 days}}
|<span style="color:red">'''The article may be deleted without further notice since this message has remained in place for five days.'''</span>{{hidden-delete-reason|Expired prod, concern: {{{concern|{{{1|}}}}}}}}  
|<span style="color:red">'''The article may be deleted without further notice since this message has remained in place for five days.'''</span><span id="delete-reason" style="display:none;">{{urlencode:Expired [[WP:PROD|PROD]]: {{{concern|{{{1|}}}}}} }}</span>
|The article may be deleted if this message remains in place for five days.{{hidden-delete-reason|Prod, concern: {{{concern|{{{1|}}}}}}}}  
|The article may be deleted if this message remains in place for five days.<span id="delete-reason" style="display:none;">{{urlencode:[[WP:PROD|PROD]]: {{{concern|{{{1|}}}}}} }}</span>
}}
}}
This template was added '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}}}}'''; five days from then is '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +5 days}}'''.
This template was added '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}}}}'''; five days from then is '''{{#time: Y-m-d H:i|{{{day}}} {{{month}}} {{{year}}} {{{time}}} +5 days}}'''.
|The article may be deleted if this message remains in place for five days. Please check the history to see when this template was added.{{hidden-delete-reason|Prod, concern: {{{concern|{{{1|}}}}}}}}
|The article may be deleted if this message remains in place for five days. Please check the history to see when this template was added.<span id="delete-reason" style="display:none;">{{urlencode:[[WP:PROD|PROD]]: {{{concern|{{{1|}}}}}} }}</span>
}}{{#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}}

Revision as of 14:59, 28 December 2008

[create] Template documentation