টেমপ্লেট:ডিজিটাল ঘড়ি

উইকিপিডিয়া, মুক্ত বিশ্বকোষ থেকে

শোধন

টেমপ্লেট নথি

This clock uses one of the most complicated structures to produce an digital clock that displays time in the offset you set!

ব্যবহার

  1. To use this template, place the following on the page - {{ডিজিটাল ঘড়ি}}.
  2. This template should never be substituted.
  3. This template should be purged to reflect current time.
  4. If your area follows DST, you will have to change the time manually.

Parameters

All parameters given below are optional and not necessarily be used.

{{ডিজিটাল ঘড়ি
|format = 12 or 24 (default: 24)
|offset = number of hours + or - UTC (default: 0)
|size = width of each digit in pixels (default: 70)
|color = any color name or HTML color code (default: red)
}}

Offset

The clock has a parameter that allows you to give an offset from UTC time. The offset can be fractional to adjust the time by any number of hours and minutes. Therefore this code - {{ডিজিটাল ঘড়ি|offset = +5.5}} will produce this clock:

শোধন


Format (12 or 24 hours)

You can set the format parameter to 12 or 24 to get a 12 or 24 hour time format! 12 hour clocks get an additional segment space for displaying am/pm. Therefore {{ডিজিটাল ঘড়ি|format = 12}} will produce:
 

শোধন


Size

You can set nearly all sizes for the clock to display. It defaults to 70x112px. To set a size of 20 pixels you will have to type {{ডিজিটাল ঘড়ি|size = 20px}} and it will display something like this:

শোধন


রঙ

You can set all types of colors for the clock to display. It defaults to red. You can use a HTML color code or directly write the color name. To display a clock with cyan color you will have to type {{ডিজিটাল ঘড়ি|color = cyan}} and it will display something like this:

শোধন