User:N0one/Sandbox/template: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 2: Line 2:


== Template test page ==
== Template test page ==
Meta notice template here:
<onlyinclude>
<!-- if it works it works -->
<div style="background-color:#222; color:#ccc; border:1px solid #555; padding:6px; margin-top:4px; border-radius: 4px;">
<onlyinclude><includeonly>
<div class="mw-customtoggle-Spoilers" style="cursor:pointer; font-weight:bold; color:#e66;">This section contains spoilers, click to reveal</div>
{{Metanotice
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-Spoilers">
| rgb = 178, 34, 34
----
| id = [[File:Warning_icon.png|32px|link=]]
{{{1}}}
| 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 }}
</div>
| 0 = {{#expr: ({{#time:U|{{{month|1}}}/{{{day|1}}}/{{{year|2025}}}|America/Los_Angeles}} - {{#time:U|{{REVISIONTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} <!--
</div>
-->{{PLURAL: {{#expr: ({{#time:U|{{{month|1}}}/{{{day|1}}}/{{{year|2025}}}|America/Los_Angeles}} - {{#time:U|{{REVISIONTIMESTAMP}}|America/Los_Angeles}}) / 86400 round 0 }} |Day|Days}}.
</onlyinclude>
| 1 = None.
[[Category:Test]]
}}
</span>
}}
</includeonly></onlyinclude>

Latest revision as of 11:10, 20 June 2025

Back to User:N0one/Sandbox

Template test page

This section contains spoilers, click to reveal

{{{1}}}