داڕێژە:ناوچەی کاتی/doc
{{ناوچەی کاتی}} 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:ناوچەی کاتی|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:ناوچەی کاتی|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:ناوچەی کاتی|IST EU}} gives IST (UTC+01:00)
- Indian Standard Time : {{subst:ناوچەی کاتی|IST}} gives IST (UTC+05:30)
Ireland being less inhabited than India, Indian Standard Time 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 2016j of the database.
Template | Description | Example | Produces |
---|---|---|---|
{{ناوچەی کاتی/وەشان}} | 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. | {{ناوچەی کاتی/وەشان|IncludeLink}}
|
[ftp://ftp.iana.org/ناوچەی کاتی/releases/tzdata2016e.tar.gz 2016e] |
{{ناوچەی کاتی/ھێمای وڵات}} | Maps TZ to country code from zone.tab | {{ناوچەی کاتی/ھێمای وڵات|Asia/Urumqi}}
|
CN |
{{ناوچەی کاتی/iso 3166-1 link}} | Maps TZ to linked country code from zone.tab | {{ناوچەی کاتی/iso 3166-1 link|Asia/Urumqi}}
|
[[ISO 3166-1:CN|CN]] |
{{ناوچەی کاتی/coordinates}} | Maps TZ to coordinates in original format from zone.tab | {{ناوچەی کاتی/coordinates|Asia/Urumqi}}
|
+4348+08735 |
{{ناوچەی کاتی/coord}} | Maps TZ to different coordinate format used in {{Infobox IANA time zone}} | {{ناوچەی کاتی/coordinates|Asia/Urumqi}}
|
43/48/N/087/35/E |
{{ناوچەی کاتی/comments}} | Maps TZ to comments from zone.tab | {{ناوچەی کاتی/coordinates|Asia/Urumqi}}
|
Covering historic [[Sinkiang-Tibet]] time zone |
{{ناوچەی کاتی/rulefile}} | Maps TZ to linked continent file that defines the zone (or link) and DST rules, used by {{Infobox IANA time zone}} . Not currently accurate.
|
||
{{ناوچەی کاتی/utc offset}} | Maps TZ to normal (non-DST) UTC offset | {{ناوچەی کاتی/utc offset|Europe/Amsterdam}}
|
+01:00 |
{{ناوچەی کاتی/utc offset link}} | Maps TZ to linked normal (non-DST) UTC offset | {{ناوچەی کاتی/utc offset link|Europe/Amsterdam}}
|
[[UTC+01:00|+01:00]] |
{{ناوچەی کاتی/utc zone}} | Maps TZ to normal (non-DST) UTC offset with prefix | {{ناوچەی کاتی/utc zone|Europe/Amsterdam}}
|
UTC+01:00 |
{{ناوچەی کاتی/utc zone link}} | Maps TZ to linked normal (non-DST) UTC offset with prefix | {{ناوچەی کاتی/utc zone link|Europe/Amsterdam}}
|
[[UTC+01:00]] |
{{ناوچەی کاتی/utc dst offset}} | Maps TZ to DST UTC offset | {{ناوچەی کاتی/utc dst offset|Europe/Amsterdam}}
|
+02:00 |
{{ناوچەی کاتی/utc dst offset link}} | Maps TZ to linked DST UTC offset | {{ناوچەی کاتی/utc dst offset link|Europe/Amsterdam}}
|
[[UTC+02:00|+02:00]] |
{{ناوچەی کاتی/zone.tab cols wikitable}} | Maps TZ to 4 elements as a wikitable row – country code, coordinates, zone name, and comments | {{ناوچەی کاتی/zone.tab cols wikitable|Antarctica/South_Pole}}
|
| [[ISO 3166-1:AQ|AQ]] | -9000+00000 | [[Antarctica/South_Pole]] | Amundsen-Scott Station, South Pole |
{{ناوچەی کاتی/zone.tab cols linked}} | Similar to {{ناوچەی کاتی/zone.tab cols wikitable}}, but adds two more lines to the output, containing the linked normal (non-DST) and DST UTC offsets | {{ناوچەی کاتی/zone.tab cols linked|Antarctica/South_Pole}}
|
| [[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]] |
{{ناوچەی کاتی/zone.tab cols wiki6}} | A possibly slower version of {{ناوچەی کاتی/zone.tab cols linked}}. Note: neither {{ناوچەی کاتی/zone.tab cols wiki6}} nor {{ناوچەی کاتی/zone.tab cols linked}} 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. | ||
{{ناوچەی کاتی/infobox}} | 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. | ||
{{ناوچەی کاتی/zoneinfo}} | Displays the lead and a table containing the tz database data. For example, see Asia/Thimphu. |
UTC
دەستکاری- Template:ناوچەی کاتی/utc-infobox
- Template:ناوچەی کاتی/utc-meridian-central
- Template:ناوچەی کاتی/utc-meridian-west
- Template:ناوچەی کاتی/utc-meridian-east
- Template:ناوچەی کاتی/utc-hue4map-color
- Template:ناوچەی کاتی/utc-dtg
Examples
دەستکاریThe list may not be exhaustive.
See also
دەستکاریReferences
دەستکاری- (en) Worldtimezone