साँचा:Tz/doc
{{
साँचा:namespace detect
| type = notice
| image =
| imageright =
| class =
| style = margin-bottom:1.0em;
| textstyle =
| text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page.
| small =
| smallimage =
| smallimageright =
| smalltext =
| subst =
| date =
| name =
}}
साँचा:tl can be used to quickly and consistently link to an article on a timezone, while automatically displaying the deviation from UTC.
It also contains sub-templates that contain the data for columns in the tz database.
Usage
{{subst:tz|timezone}}
Replace timezone
with any standard time zone code.
If the time zone is omitted, the template defaults to displaying UTC.
Exceptions: Sometimes, two different time zones have the same abbreviation. As we cannot change them, a little trick must be used for lesser-used ones. Instead of using the template above, you must use the following template:
{{subst:tz|timezone continent}}
Replace timezone
with any standard time zone code.
Replace continent
with any of the following:
North America: NA
South America: SA
Antarctica: AN
Africa: AF
Europe: EU
Asia: AS
Australia: AU
Examples:
- Irish Summer Time : {{subst:tz|IST EU}} gives IST (UTC+01)
- भारतीय मानक समय : {{subst:tz|IST}} gives IST (UTC+05:30)
Ireland being less inhabited than India, भारतीय मानक समय will be used more often than Irish Summer Time, and is therefore the default if no continent is specified.
See more examples below.
tz database
Sub templates store data from the tz database and some related information. These examples are accurate as of version साँचा:Tz/version of the database.
Template | Description | Example | Produces |
---|---|---|---|
साँचा:tl | Produces the version number of the tz database. Update this template when updating those below with data from a new release. Add a parameter (value doesn't matter) to include a link to the IANA FTP site. | साँचा:tlx | [ftp://ftp.iana.org/tz/releases/tzdata2012c.tar.gz 2012c] |
साँचा:tl | Maps TZ to country code from zone.tab | साँचा:tlx | CN |
साँचा:tl | Maps TZ to linked country code from zone.tab | साँचा:tlx | [[ISO 3166-1:CN|CN]] |
साँचा:tl | Maps TZ to coordinates in original format from zone.tab | साँचा:tlx | +4348+08735 |
साँचा:tl | Maps TZ to different coordinate format used in साँचा:tl | साँचा:tlx | 43/48/N/087/35/E |
साँचा:tl | Maps TZ to comments from zone.tab | साँचा:tlx | Covering historic [[Sinkiang-Tibet]] time zone |
साँचा:tl | Maps TZ to linked continent file that defines the zone (or link) and DST rules, used by साँचा:tlx. Not currently accurate. | ||
साँचा:tl | Maps TZ to normal (non-DST) UTC offset | साँचा:tlx | +01:00 |
साँचा:tl | Maps TZ to linked normal (non-DST) UTC offset | साँचा:tlx | [[UTC+01:00|+01:00]] |
साँचा:tl | Maps TZ to normal (non-DST) UTC offset with prefix | साँचा:tlx | UTC+01:00 |
साँचा:tl | Maps TZ to linked normal (non-DST) UTC offset with prefix | साँचा:tlx | [[UTC+01:00]] |
साँचा:tl | Maps TZ to DST UTC offset | साँचा:tlx | +02:00 |
साँचा:tl | Maps TZ to linked DST UTC offset | साँचा:tlx | [[UTC+02:00|+02:00]] |
साँचा:tl | Maps TZ to 4 elements as a wikitable row – country code, coordinates, zone name, and comments | साँचा:tlx | | [[ISO 3166-1:AQ|AQ]] | -9000+00000 | [[Antarctica/South_Pole]] | Amundsen-Scott Station, South Pole |
साँचा:tl | Similar to साँचा:tl, but adds two more lines to the output, containing the linked normal (non-DST) and DST UTC offsets | साँचा:tlx | | [[ISO 3166-1:AQ|AQ]] | -9000+00000 | [[Antarctica/South_Pole]] | Amundsen-Scott Station, South Pole | [[UTC+12:00|+12:00]] | [[UTC+13:00|+13:00]] |
साँचा:tl | A possibly slower version of साँचा:tl. Note: neither साँचा:tl nor साँचा:tl can currently be used for the full table in List of tz database time zones because of performance limitations in processing such a long table. They can, however, be used for a small number of rows in individual area articles. | ||
साँचा:tl | Displays an infobox on the right side of pages for the tz zones, if the page name matches a zone name. For an example see Asia/Omsk. | ||
साँचा:tl | Displays the lead and a table containing the tz database data. For example, see Asia/Thimphu. |
UTC
- Template:Tz/utc-infobox
- Template:Tz/utc-meridian-central
- Template:Tz/utc-meridian-west
- Template:Tz/utc-meridian-east
- Template:Tz/utc-hue4map-color
- Template:Tz/utc-dtg
Examples
The list may not be exhaustive.
इन्हें भी देखें
References
- (en) Worldtimezone