Difference between revisions of "Template:Timezone"
(Fixed some things) |
|||
Line 2: | Line 2: | ||
|-12 = UTC-12 ({{{2|IDL-International Date Line}}}) | |-12 = UTC-12 ({{{2|IDL-International Date Line}}}) | ||
|-11 = UTC-11 ({{{2|MIT-Midway Standard Time}}}) | |-11 = UTC-11 ({{{2|MIT-Midway Standard Time}}}) | ||
− | |-10 = UTC-10 ({{{2|HST-Hawaii-Aleutian Standard Time }}}) | + | |-10 = UTC-10 ({{{2|HST-Hawaii-Aleutian Standard Time}}}) |
− | |-9.5 = UTC-9: | + | |-9.5 = UTC-9:30 ({{{2|MSIT-Marquesas Standard Island Time}}}) |
− | |-9 = UTC- | + | |-9 = UTC-9 ({{{2|AKST-Alaska Standard Time}}}) |
− | |-8 = UTC- | + | |-8 = UTC-8 ({{{2|PST-Pacific Standard Time}}}) |
|-7 = UTC-7 ({{{2|MST-Mountain Standard Time}}}) | |-7 = UTC-7 ({{{2|MST-Mountain Standard Time}}}) | ||
|-6 = UTC-6 ({{{2|CST-Central Standard Time}}}) | |-6 = UTC-6 ({{{2|CST-Central Standard Time}}}) | ||
Line 11: | Line 11: | ||
|-4 = UTC-4 ({{{2|AST-Atlantic Standard Time}}}) | |-4 = UTC-4 ({{{2|AST-Atlantic Standard Time}}}) | ||
|-3.5 = UTC-3:30 ({{{2|NST-Newfoundland Standard Time}}}) | |-3.5 = UTC-3:30 ({{{2|NST-Newfoundland Standard Time}}}) | ||
− | |-3 = UTC-3 ({{{2|SAT-South America Standard Time }}}) | + | |-3 = UTC-3 ({{{2|SAT-South America Standard Time}}}) |
|-2 = UTC-2 ({{{2|BRT-Brazil Time}}}) | |-2 = UTC-2 ({{{2|BRT-Brazil Time}}}) | ||
|-1 = UTC-1 ({{{2|CVT-Cape Verde Standard Time}}}) | |-1 = UTC-1 ({{{2|CVT-Cape Verde Standard Time}}}) | ||
Line 26: | Line 26: | ||
|6 = UTC+6 ({{{2|BHT-Bangladesh Standard Time}}}) | |6 = UTC+6 ({{{2|BHT-Bangladesh Standard Time}}}) | ||
|6.5 = UTC+6:30 ({{{2|MRT-Myanmar Standard Time}}}) | |6.5 = UTC+6:30 ({{{2|MRT-Myanmar Standard Time}}}) | ||
− | |7 = UTC+7 ({{{2| | + | |7 = UTC+7 ({{{2|IST-Indochina Standard Time}}}) |
|8 = UTC+8 ({{{2|EAT-East Asia Standard Time, CST-Chinese Standard Time}}}) | |8 = UTC+8 ({{{2|EAT-East Asia Standard Time, CST-Chinese Standard Time}}}) | ||
|8.5 = UTC+8:30 ({{{2|KRT-North Korea Standard Time}}}) | |8.5 = UTC+8:30 ({{{2|KRT-North Korea Standard Time}}}) | ||
Line 59: | Line 59: | ||
| <code><nowiki>{{Timezone|-3.5}}</nowiki></code> || {{Timezone|-3.5}} | | <code><nowiki>{{Timezone|-3.5}}</nowiki></code> || {{Timezone|-3.5}} | ||
|- | |- | ||
− | | <code><nowiki>{{Timezone|-5||UTC-5 (CDT-North America Central Daylight Time)}}</nowiki></code> || {{Timezone|-5||UTC-5 (CDT-North America Central Daylight Time}} | + | | <code><nowiki>{{Timezone|-5||UTC-5 (CDT-North America Central Daylight Time)}}</nowiki></code> || {{Timezone|-5||UTC-5 (CDT-North America Central Daylight Time)}} |
|} | |} | ||
[[Category:Page-top templates]][[Category:Functional templates]][[zh:模板:Timezone]] | [[Category:Page-top templates]][[Category:Functional templates]][[zh:模板:Timezone]] |
Revision as of 15:23, 20 May 2023
This template is used to mark the time zone, the default is UTC 08:00. This template should be used in the top of pages.
Example usage
Standard syntax: {{Timezone|Timezone number|Partial Display (Optional)|Full Display (Optional) }}
Syntax | Result |
---|---|
{{Timezone|9}} |
|
{{Timezone|9|GST-Gensokyo Standard Time}} |
|
{{Timezone|12.75}} |
|
{{Timezone|-3.5}} |
|
{{Timezone|-5||UTC-5 (CDT-North America Central Daylight Time)}} |