|
|
| (未显示同一用户的1个中间版本) |
| 第1行: |
第1行: |
| <includeonly>
| | abort:缺乏授权 |
| <div style="float: left; border:solid black {{{4}}}; margin: 0px;"><!-- {{#if{{{4|}}}|{{{4}}}|black}} -->
| |
| {| cellspacing="0" style="background: {{{3}}};"
| |
| | style="padding: 0pt; line-height: 1.25em;" |{{#ifexpr: {{#time: H| {{{1}}} hours}} < 10|[[Image:LED digit 0.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time: H| {{{1}}} hours}}*1}}.png|{{{2}}}]]|{{#ifexpr: {{#time: H| {{{1}}} hours}} < 20|[[Image:LED digit 1.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time: H| {{{1}}} hours}}-10*1}}.png|{{{2}}}]]|[[Image:LED digit 2.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time: H| {{{1}}} hours}}-20*1}}.png|{{{2}}}]]}}}}[[Image:LED colon.png|{{{2}}}]]{{#ifexpr: {{CURRENTMINUTE}}<10|[[Image:LED digit 0.png|{{{2}}}]][[Image:LED digit {{#expr:{{CURRENTMINUTE}}*1}}.png|{{{2}}}]]|{{#switch: {{#expr:{{#expr: {{CURRENTMINUTE}}/10}}-{{#expr:{{#expr: {{CURRENTMINUTE}} mod 10 }}/10}}}}
| |
| | 1 = [[Image:LED digit 1.png|{{{2}}}]][[Image:LED digit {{#expr:{{CURRENTMINUTE}} - 10}}.png|{{{2}}}]]
| |
| | 2 = [[Image:LED digit 2.png|{{{2}}}]][[Image:LED digit {{#expr:{{CURRENTMINUTE}} - 20}}.png|{{{2}}}]]
| |
| | 3 = [[Image:LED digit 3.png|{{{2}}}]][[Image:LED digit {{#expr:{{CURRENTMINUTE}} - 30}}.png|{{{2}}}]]
| |
| | 4 = [[Image:LED digit 4.png|{{{2}}}]][[Image:LED digit {{#expr:{{CURRENTMINUTE}} - 40}}.png|{{{2}}}]]
| |
| | 5 = [[Image:LED digit 5.png|{{{2}}}]][[Image:LED digit {{#expr:{{CURRENTMINUTE}} - 50}}.png|{{{2}}}]]
| |
| }}}}
| |
| |}</div>
| |
| </includeonly>
| |
| <noinclude>
| |
| This is a digital clock that you can offset to fit your own timezone. First off, you will need to figure out the UTC offset. This website should do the trick if you don't already know the offset value: [http://wwp.greenwichmeantime.com/time-zone/ wwp.greenwichmeantime.com/time-zone/].
| |
| | |
| <center>'''''Please note that if you are in a timezone that experiences [[daylight saving time|DST]], you will have to manually offset your clock—the same way you have to adjust some of the older clocks in your house.''''' </center>
| |
| {{documentation}}
| |
| [[Category:Time, date and calendar templates]]
| |
| </noinclude>
| |