Templat:Jam digital: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
Tag: Pembatalan
 
(4 revisi perantara oleh 3 pengguna tidak ditampilkan)
Baris 1:
<noinclude><!-- jangan main-main dengan ini kecuali Anda mengerti cara kerjanya! --></noinclude><includeonly><table cellspacing=0 cellpadding=0 style="clear:left;background:none"><tr style="background:{{{color|{{{3|red}}}}}}">{{#ifexpr:{{{format|{{{1|0}}}}}}=12and{{#time:g|{{#expr:{{{offset|{{{1|0}}}}}}*60round0}}min}}<10|<td style="width:{{{size|{{{2|70}}}}}}px;background:#000">&nbsp;</td><td>|<td>[[Image:LED digit {{#expr:floor({{#time:{{#ifeq:{{{format}}}|12|g|G}}|{{#expr:{{{offset|{{{1|0}}}}}}*60round0}}min}}/10)}}.png|{{{size|{{{2|70}}}}}}px|link=]]}}[[Image:LED digit {{#expr:{{#time:{{#ifeq:{{{format}}}|12|g|G}}|{{#expr:{{{offset|{{{1|0}}}}}}*60round0}}min}}mod10}}.png|{{{size|{{{2|70}}}}}}px|link=]][[Image:LED colon.png|{{{size|{{{2|70}}}}}}px|link=]][[Image:LED digit {{#expr:floor({{#time:i|{{#expr:{{{offset|{{{1|0}}}}}}*60round0}}min}}/10)}}.png|{{{size|{{{2|70}}}}}}px|link=]][[Image:LED digit {{#expr:{{#time:i|{{#expr:{{{offset|{{{1|0}}}}}}*60round0}}min}}mod10}}.png|{{{size|{{{2|70}}}}}}px|link=]]{{#ifeq:{{{format}}}|12|[[Image:LED {{#time:a|{{#expr:{{{offset|{{{1|0}}}}}}*60round0}}min}}.png|{{{size|{{{2|70}}}}}}px|link=]]}}</td></tr></table></includeonly><noinclude>
<includeonly>
{{doc}}</noinclude>
<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: {{#time:i}}<10|[[Image:LED digit 0.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time:i}}*1}}.png|{{{2}}}]]|{{#switch: {{#expr:{{#expr: {{#time:i}}/10}}-{{#expr:{{#expr: {{#time:i}} mod 10 }}/10}}}}
| 1 = [[Image:LED digit 1.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time:i}} - 10}}.png|{{{2}}}]]
| 2 = [[Image:LED digit 2.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time:i}} - 20}}.png|{{{2}}}]]
| 3 = [[Image:LED digit 3.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time:i}} - 30}}.png|{{{2}}}]]
| 4 = [[Image:LED digit 4.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time:i}} - 40}}.png|{{{2}}}]]
| 5 = [[Image:LED digit 5.png|{{{2}}}]][[Image:LED digit {{#expr:{{#time:i}} - 50}}.png|{{{2}}}]]
}}}}
|}</div>
</includeonly><noinclude>
{{doc}}
</noinclude>