قالب:Tz
This template must be substituted. Replace {{Time zone ...}} with {{subst:Time zone ...}}.
| هذا القالب يجب دوماً أن يُستعاض عنه (أي اِستخدم {{subst:Tz}}). |
{{Time zone}} 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:Time zone|timezone}}
Replace timezone with any standard time zone code.
If the time zone is omitted or unrecognised, the template defaults to displaying the provided argument.
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:Time zone|timezone continent}}
Replace timezone with any standard time zone code.
Replace continent with any of the following:
- Africa: AF
- Antarctica: AN
- Asia: AS
- Australia: AU
- Europe: EU
- North America: NA
- South America: SA
Examples:
- Irish Summer Time: {{subst:Time zone|IST EU}} gives IST (UTC+01:00)
- Indian Standard Time: {{subst:Time zone|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.
Examples
The list may not be exhaustive.
See also
- List of time zone abbreviations
- {{Infobox time zone}} – 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 Greenwich Mean Time.
- {{time}} – Displays the current time in a parameter-specified time zone, using different time zone abbreviations.
قالب:Time zone/database see also
References
| The above documentation is transcluded from قالب:Tz/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |