The logo competition for the 2025 4chan Spring Babby Cup is now taking submissions.
Please send all submissions to Potatotron. Logos will be placed in this gallery. This will be followed by a polling period to determine which logo will be used.

You must supply a high-res PNG file (5000x5000 limit) and the original multi-layer source file. Additionally you must supply a qualifiers version as well as the main logo.

Cloverleaf logo: .png .svg

Cloverball logo: .ai .png .svg

Difference between revisions of "Template:Time"

From Rigged Wiki
Jump to navigation Jump to search
m (late DST adjustments)
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
<abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern Time: {{#ifexpr: {{#expr:{{{1}}}-5}} >12|{{#expr: {{#expr:{{{1}}}-5}}-12}}:{{{2}}}pm|{{#ifexpr: {{#expr:{{{1}}}-5}} =12|{{#expr:{{{1}}}-5}}:{{{2}}}pm|{{#expr:{{{1}}}-5}}:{{{2}}}am}}}}
<includeonly><abbr style="border-bottom: 1px dotted #000; background: #f1f1f1;" title="Eastern Time: {{#ifexpr: {{#expr:{{{1}}}-5}} >12|{{#expr: {{#expr:{{{1}}}-5}}-12}}:{{{2}}} pm|{{#ifexpr: {{#expr:{{{1}}}-5}} =12|12:{{{2}}} pm|{{#ifexpr: {{#expr:{{{1}}}-5}} <0|{{#expr:12+({{{1}}}-5)}}:{{{2}}} pm|{{#ifexpr: {{#expr:{{{1}}}-5}} =0|12:{{{2}}} am|{{#expr:{{{1}}}-5}}:{{{2}}} am}}}}}}}}
&#13;Pacific Time: {{#ifexpr: {{#expr:{{{1}}}-8}} >12|{{#expr: {{#expr:{{{1}}}-8}}-12}}:{{{2}}}pm|{{#ifexpr: {{#expr:{{{1}}}-8}} =12|{{#expr:{{{1}}}-8}}:{{{2}}}pm|{{#expr:{{{1}}}-8}}:{{{2}}}am}}}}"> {{{1}}}:{{{2}}}</abbr>
&#10;Pacific Time: {{#ifexpr: {{#expr:{{{1}}}-8}} >12|{{#expr: {{#expr:{{{1}}}-8}}-12}}:{{{2}}} pm|{{#ifexpr: {{#expr:{{{1}}}-8}} =12|12:{{{2}}} pm|{{#ifexpr: {{#expr:{{{1}}}-8}} <0|{{#expr:12+({{{1}}}-8)}}:{{{2}}} pm|{{#ifexpr: {{#expr:{{{1}}}-8}} =0|12:{{{2}}} am|{{#expr:{{{1}}}-8}}:{{{2}}} am}}}}}}}}"> {{{1}}}:{{{2}}}</abbr></includeonly><noinclude>
 
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
==Usage:==
==Usage==
To show time zones on hover
Shows the corresponding time in the US Eastern and Pacific time zones on hover.
===Parameters===
===Parameters===
<pre>{{Time|17|30}}</pre>
<pre>{{Time|17|30}}</pre>
1st variable is the hour and 2nd is the minute (in UTC)</noinclude>
The first variable is the hour and the second one is the minute (in UTC).</noinclude>

Latest revision as of 23:21, 14 March 2018

Usage

Shows the corresponding time in the US Eastern and Pacific time zones on hover.

Parameters

{{Time|17|30}}

The first variable is the hour and the second one is the minute (in UTC).