Jump to content

Template:Digital Millennium status: Difference between revisions

From Digital Millennium Wiki
No edit summary
Fix typos
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div class="dm-stub dm-millennium" role="note"><div class="dm-stub-icon" style="font-family:monospace;font-weight:bold;font-size:2.4em;line-height:1;color:#00a5c8;text-align:center;min-width:2.2em;">{{padleft:{{#expr:{{CURRENTYEAR}}-1999}}|3|0}}<div style="font-size:0.32em;letter-spacing:0.15em;opacity:0.75;">OF 1000</div></div><div class="dm-stub-msg">It is year '''{{#expr:{{CURRENTYEAR}}-1999}}''' of the [[Digital Millennium]] (2000–3000). Current era: '''{{#ifexpr:{{#time:U}}<2147483648|[[Unixpithcine]]|{{#if:{{{era2|}}}|[[{{{era2}}}]]|the era after the Unixpithcine}}}}''', {{#ifexpr:{{#time:U}}<2147483648|{{#expr:({{#time:U}}-946684800)/1200798847*100 round 1}}|{{#expr:({{#time:U}}-2147483648)/30356196352*100 round 1}}}}% complete.<div style="height:6px;margin:0.4em 0;border-radius:3px;background:rgba(0,165,200,0.2);overflow:hidden;"><div style="height:100%;width:{{#ifexpr:{{#time:U}}<2147483648|{{#expr:({{#time:U}}-946684800)/1200798847*100 round 1}}|{{#expr:({{#time:U}}-2147483648)/30356196352*100 round 1}}}}%;background:#00a5c8;"></div></div>{{#ifexpr:{{#time:U}}<2147483648|<span style="font-family:monospace;">'''{{formatnum:{{#expr:floor((2147483648-{{#time:U}})/86400)}}}}'''</span> days until the 32-bit time_t overflow on 19 January 2038.|<span style="font-family:monospace;">'''{{formatnum:{{#expr:floor((32503680000-{{#time:U}})/86400)}}}}'''</span> days until the year 3000.}}</div>{{#if:{{{1|}}}|<div class="dm-stub-reason">{{{1}}}</div>}}</div></includeonly><noinclude>
<includeonly><div class="dm-stub dm-millennium" role="note"><div class="dm-stub-icon">[[File:Appointment-new.svg|72px|link=|alt=]]</div><div class="dm-stub-credit">Image by the Tango! Desktop Project / [https://commons.wikimedia.org/wiki/File:Appointment-new.svg Wikimedia Commons] / Public domain</div><div class="dm-stub-msg">This page or section is part of the [[:Category:Digital Millennium|Digital Millennium]]. It is year ''{{#expr:{{CURRENTYEAR}}-2000}} of 1000'', in the {{#ifexpr:{{#time:U}}<2147483648|[[Unixipithocene]], with ''{{formatnum:{{#expr:floor((2147483648-{{#time:U}})/86400)}}}} days'' left until the 32-bit time_t overflow.|{{#if:{{{era2|}}}|[[{{{era2}}}]]|era after the Unixipithocene}}, with ''{{formatnum:{{#expr:floor((32503680000-{{#time:U}})/86400)}}}} days'' left until the year 3000.}} You can help the wiki by ''accurately'' [{{fullurl:{{FULLPAGENAME}}|action=edit}} contributing] to it.</div>{{#if:{{{1|}}}|<div class="dm-stub-reason">{{{1}}}</div>}}</div>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Digital Millennium]]}}</includeonly><noinclude>
{{Digital Millennium status}}
{{Digital Millennium status}}
{{Digital Millennium status|See also: [[Unixpithcine]].}}
{{Digital Millennium status|See also: [[Unixipithocene]].}}


== Usage ==
== Usage ==
Put this at the top of a page or section about the Digital Millennium:
<pre>{{Digital Millennium status}}</pre>
<pre>{{Digital Millennium status}}</pre>
Optionally add a note:
Optionally add a note:
<pre>{{Digital Millennium status|Your note here.}}</pre>
<pre>{{Digital Millennium status|See also: [[Unixipithocene]].}}</pre>
After 2038-01-19 03:14:08 UTC the box switches eras by itself: the bar tracks 2038 → 3000 and the countdown targets the year 3000. Name the next era with <code>era2</code>:
After 2038-01-19 03:14:08 UTC the box switches eras by itself and counts down to the year 3000 instead. Name the next era with <code>era2</code>:
<pre>{{Digital Millennium status|era2=Name of the next era}}</pre>
<pre>{{Digital Millennium status|era2=Name of the next era}}</pre>


The year, percentage and day count are computed when the page is rendered, so purge the page to refresh them.
Articles using it are listed in [[:Category:Digital Millennium]]. The year and day count are computed when the page is rendered, so purge the page to refresh them.
 
The icon is [[:File:Appointment-new.svg]] from the Tango! Desktop Project, which released its icons into the public domain.
</noinclude>
</noinclude>

Latest revision as of 00:58, 7 November 2026

Image by the Tango! Desktop Project / Wikimedia Commons / Public domain
This page or section is part of the Digital Millennium. It is year 26 of 1000, in the Unixipithocene, with 4,075 days left until the 32-bit time_t overflow. You can help the wiki by accurately contributing to it.
Image by the Tango! Desktop Project / Wikimedia Commons / Public domain
This page or section is part of the Digital Millennium. It is year 26 of 1000, in the Unixipithocene, with 4,075 days left until the 32-bit time_t overflow. You can help the wiki by accurately contributing to it.
See also: Unixipithocene.

Usage

Put this at the top of a page or section about the Digital Millennium:

{{Digital Millennium status}}

Optionally add a note:

{{Digital Millennium status|See also: [[Unixipithocene]].}}

After 2038-01-19 03:14:08 UTC the box switches eras by itself and counts down to the year 3000 instead. Name the next era with era2:

{{Digital Millennium status|era2=Name of the next era}}

Articles using it are listed in Category:Digital Millennium. The year and day count are computed when the page is rendered, so purge the page to refresh them.

The icon is File:Appointment-new.svg from the Tango! Desktop Project, which released its icons into the public domain.