User:N0one/Sandbox/template: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "Back to User:N0one/Sandbox == Template test page == <onlyinclude> {{#ifexpr: {{#if:{{{1|}}}|{{REVISIONTIMESTAMP:{{{1}}}}}|0}} > {{#if:{{{2|}}}|{{REVISIONTIMESTAMP:{{{2}}}}}|0}} | <span style="color:yellow">{{{1}}}</span> '''>''' <span style="color:yellow">{{{2}}}</span>; <span style="color:green">NOTIFY "{{{2}}}"</span> | <span style="color:yellow">{{{1}}}</span> '''<''' <span style="color:yellow">{{{2}}}</span>; <span style="color:red">DONT NOTIFY "{{{2}}}"</span>...")
 
No edit summary
Line 3: Line 3:
== Template test page ==
== Template test page ==


<onlyinclude>
<noinclude>
{{#ifexpr: {{#if:{{{1|}}}|{{REVISIONTIMESTAMP:{{{1}}}}}|0}} > {{#if:{{{2|}}}|{{REVISIONTIMESTAMP:{{{2}}}}}|0}}
{{#ifexpr: {{#if:{{{1|}}}|{{REVISIONTIMESTAMP:{{{1}}}}}|0}} > {{#if:{{{2|}}}|{{REVISIONTIMESTAMP:{{{2}}}}}|0}}
| <span style="color:yellow">{{{1}}}</span> '''>''' <span style="color:yellow">{{{2}}}</span>; <span style="color:green">NOTIFY "{{{2}}}"</span>
| <span style="color:yellow">{{{1}}}</span> '''>''' <span style="color:yellow">{{{2}}}</span>; <span style="color:green">NOTIFY "{{{2}}}"</span>
| <span style="color:yellow">{{{1}}}</span> '''<''' <span style="color:yellow">{{{2}}}</span>; <span style="color:red">DONT NOTIFY "{{{2}}}"</span>
| <span style="color:yellow">{{{1}}}</span> '''<''' <span style="color:yellow">{{{2}}}</span>; <span style="color:red">DONT NOTIFY "{{{2}}}"</span>
}}
</noinclude>
----
America/Los_Angeles = Seattle which is also belleuve time
<noinclude>
{{#ifexpr: {{#time: YmdHis | {{{month|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}} | America/Los_Angeles }} <= {{#time: YmdHis| {{REVISIONTIMESTAMP}} | America/Los_Angeles }}
| <span style="color:green">NOTIFY; Deadline was at: {{#time: F j, Y; H:i:s | {{{month|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}} }}</span>
| <span style="color:yellow">DONT NOTIFY; Deadline at: {{#time: F j, Y; H:i:s | {{{month|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}} }}</span>
}}
</noinclude>
----
{{Delete|nocat=1|{{{1|If the {{{namespace|page}}} isn't corrected until {{#time:F j, Y, H:i | {{{month|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}}. It will be deleted.}}} }}
<!-- if it works it works -->
<onlyinclude>
{{Metanotice
| rgb = 178, 34, 34
| id = [[File:Warning_icon.png|32px|link=]]
| text = <strong>This article will be marked as a [[Help:Deletion|candidate for speedy deletion]] on <span style="color:yellow">{{#time:F j, Y, H:i | {{{month|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}}</span></strong><br>If the article isn't corrected until the deadline, it will be marked as a candidate for speedy deletion.<br>
Time left until the page will be deleted: <span style="color:yellow">
{{#switch: {{#expr:{{#time:YmdHis|{{{month|1}}}/{{{day|1}}}/{{{year|{{CURRENTYEAR}}}}} {{{time|23:59:59}}}|America/Los_Angeles}} <= {{#time:YmdHis|{{REVISIONTIMESTAMP}}|America/Los_Angeles}}
| 1
| 0
}}
| 0 = {{#expr: ({{#time:U|{{{month|1}}}/{{{day|1}}}/{{{year|2025}}}|America/Los_Angeles}} - {{#time:U|{{REVISIONTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} <!--
-->{{PLURAL: {{#expr: ({{#time:U|{{{month|1}}}/{{{day|1}}}/{{{year|2025}}}|America/Los_Angeles}} - {{#time:U|{{REVISIONTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} |Day|Days}}.
| 1 = None.
[[Category:Test]]
}}
</span>
}}
}}
</onlyinclude>
</onlyinclude>
----

Revision as of 14:46, 7 April 2025

Back to User:N0one/Sandbox

Template test page

{{{1}}} < {{{2}}}; DONT NOTIFY "{{{2}}}"


America/Los_Angeles = Seattle which is also belleuve time

NOTIFY; Deadline was at: January 1, 2025; 23:59:59


Warning icon.png
This article has been marked as a candidate for speedy deletion for the following reason:
If the page isn't corrected until January 1, 2025, 23:59. It will be deleted.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.


Warning icon.png
This article will be marked as a candidate for speedy deletion on January 1, 2025, 23:59
If the article isn't corrected until the deadline, it will be marked as a candidate for speedy deletion.

Time left until the page will be deleted: None.