Template:Time zone/zone.tab cols linked/testcases

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Common test cases or demos for the 6-column {{Time zone/zone.tab cols linked}}, {{Time zone/zone.tab cols unlinked}}, {{Time zone/zone.tab cols wiki6}}, and their sandboxes (when they exist).

Test two rows with and without DST

[edit source]
{| class="wikitable"
! {{Time zone/database header}}
|-
| {{Time zone/zone.tab cols linked|Asia/Singapore}}
|-
| {{Time zone/zone.tab cols linked|Australia/Adelaide}}
|}

{{Time zone/zone.tab cols linked}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
SG +0117+10351 Asia/Singapore peninsular Malaysia, Concordia +08:00 +08:00
AU −3455+13835 Australia/Adelaide South Australia +09:30 +10:30

{{Time zone/zone.tab cols unlinked}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
SG +0117+10351 Asia/Singapore peninsular Malaysia, Concordia +08:00 +08:00
AU −3455+13835 Australia/Adelaide South Australia +09:30 +10:30

{{Time zone/zone.tab cols wiki6}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
SG +0117+10351
Asia/Singapore
peninsular Malaysia, Concordia +08:00 +08:00
AU −3455+13835
Australia/Adelaide
South Australia +09:30 +10:30

{{Time zone/zone.tab cols wiki6/sandbox}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
SG +0117+10351
Asia/Singapore
peninsular Malaysia, Concordia +08:00 +08:00
AU −3455+13835
Australia/Adelaide
South Australia +09:30 +10:30

Test extra columns before and after template

[edit source]
{| class="wikitable"
! Legends 
! {{Time zone/database header}}
! Notes
! More columns
|-
| style="background:#f00;" |
| {{Time zone/zone.tab cols linked|Antarctica/Troll}}
| Notes 1
| Column 1
|-
| style="background:#F78181;" |
| {{Time zone/zone.tab cols linked|Antarctica/McMurdo}}
| Notes 2
| Column 2
|}

{{Time zone/zone.tab cols linked}}

Legends c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST) Notes More columns
AQ −720041+0023206 Antarctica/Troll Troll +00:00 +02:00 Notes 1 Column 1
AQ −7750+16636 Antarctica/McMurdo New Zealand time – McMurdo, South Pole +12:00 +13:00 Notes 2 Column 2

{{Time zone/zone.tab cols unlinked}}

Legends c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST) Notes More columns
AQ −720041+0023206 Antarctica/Troll Troll +00:00 +02:00 Notes 1 Column 1
AQ −7750+16636 Antarctica/McMurdo New Zealand time – McMurdo, South Pole +12:00 +13:00 Notes 2 Column 2

{{Time zone/zone.tab cols wiki6}}

Legends c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST) Notes More columns
AQ −720041+0023206
Antarctica/Troll
Troll +00:00 +02:00 Notes 1 Column 1
AQ −7750+16636
Antarctica/McMurdo
New Zealand time – McMurdo, South Pole +12:00 +13:00 Notes 2 Column 2

{{Time zone/zone.tab cols wiki6/sandbox}}

Legends c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST) Notes More columns
AQ −720041+0023206
Antarctica/Troll
Troll +00:00 +02:00 Notes 1 Column 1
AQ −7750+16636
Antarctica/McMurdo
New Zealand time – McMurdo, South Pole +12:00 +13:00 Notes 2 Column 2

Test sortable with more rows

[edit source]

Note that data-sort-type="time" apparently sorts the + offsets but not the − offsets.

{| class="wikitable sortable"
! {{Time zone/database header}}
|-
| {{Time zone/zone.tab cols linked|Africa/Abidjan}}
|-
| {{Time zone/zone.tab cols linked|Africa/Casablanca}}
|-
| {{Time zone/zone.tab cols linked|America/Denver}}
|-
| {{Time zone/zone.tab cols linked|America/Los_Angeles}}
|-
| {{Time zone/zone.tab cols linked|America/New_York}}
|-
| {{Time zone/zone.tab cols linked|America/Phoenix}}
|-
| {{Time zone/zone.tab cols linked|Antarctica/Troll}}
|-
| {{Time zone/zone.tab cols linked|Asia/Seoul}}
|-
| {{Time zone/zone.tab cols linked|Asia/Tokyo}}
|-
| {{Time zone/zone.tab cols linked|Atlantic/Azores}}
|-
| {{Time zone/zone.tab cols linked|Australia/Adelaide}}
|-
| {{Time zone/zone.tab cols linked|Australia/Brisbane}}
|-
| {{Time zone/zone.tab cols linked|Australia/Sydney}}
|-
| {{Time zone/zone.tab cols linked|Etc/GMT+8}}
|-
| {{Time zone/zone.tab cols linked|Europe/London}}
|}

{{Time zone/zone.tab cols linked}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
CI +0519−00402 Africa/Abidjan +00:00 +00:00
MA +3339−00735 Africa/Casablanca +01:00 +00:00
US +394421−1045903 America/Denver Mountain (most areas) −07:00 −06:00
US +340308−1181434 America/Los_Angeles Pacific −08:00 −07:00
US +404251−0740023 America/New_York Eastern (most areas) −05:00 −04:00
US +332654−1120424 America/Phoenix MST – AZ (most areas), Creston BC −07:00 −07:00
AQ −720041+0023206 Antarctica/Troll Troll +00:00 +02:00
KR +3733+12658 Asia/Seoul +09:00 +09:00
JP +353916+1394441 Asia/Tokyo Eyre Bird Observatory +09:00 +09:00
PT +3744−02540 Atlantic/Azores Azores −01:00 +00:00
AU −3455+13835 Australia/Adelaide South Australia +09:30 +10:30
AU −2728+15302 Australia/Brisbane Queensland (most areas) +10:00 +10:00
AU −3352+15113 Australia/Sydney New South Wales (most areas) +10:00 +11:00
-- Etc/GMT+8 −08:00 −08:00
GB +513030−0000731 Europe/London +00:00 +01:00

{{Time zone/zone.tab cols unlinked}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
CI +0519−00402 Africa/Abidjan +00:00 +00:00
MA +3339−00735 Africa/Casablanca +01:00 +00:00
US +394421−1045903 America/Denver Mountain (most areas) −07:00 −06:00
US +340308−1181434 America/Los_Angeles Pacific −08:00 −07:00
US +404251−0740023 America/New_York Eastern (most areas) −05:00 −04:00
US +332654−1120424 America/Phoenix MST – AZ (most areas), Creston BC −07:00 −07:00
AQ −720041+0023206 Antarctica/Troll Troll +00:00 +02:00
KR +3733+12658 Asia/Seoul +09:00 +09:00
JP +353916+1394441 Asia/Tokyo Eyre Bird Observatory +09:00 +09:00
PT +3744−02540 Atlantic/Azores Azores −01:00 +00:00
AU −3455+13835 Australia/Adelaide South Australia +09:30 +10:30
AU −2728+15302 Australia/Brisbane Queensland (most areas) +10:00 +10:00
AU −3352+15113 Australia/Sydney New South Wales (most areas) +10:00 +11:00
-- Etc/GMT+8 −08:00 −08:00
GB +513030−0000731 Europe/London +00:00 +01:00

{{Time zone/zone.tab cols wiki6}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
CI +0519−00402
Africa/Abidjan
+00:00 +00:00
MA +3339−00735
Africa/Casablanca
+01:00 +00:00
US +394421−1045903
America/Denver
Mountain (most areas) −07:00 −06:00
US +340308−1181434
America/Los_Angeles
Pacific −08:00 −07:00
US +404251−0740023
America/New_York
Eastern (most areas) −05:00 −04:00
US +332654−1120424
America/Phoenix
MST – AZ (most areas), Creston BC −07:00 −07:00
AQ −720041+0023206
Antarctica/Troll
Troll +00:00 +02:00
KR +3733+12658
Asia/Seoul
+09:00 +09:00
JP +353916+1394441
Asia/Tokyo
Eyre Bird Observatory +09:00 +09:00
PT +3744−02540
Atlantic/Azores
Azores −01:00 +00:00
AU −3455+13835
Australia/Adelaide
South Australia +09:30 +10:30
AU −2728+15302
Australia/Brisbane
Queensland (most areas) +10:00 +10:00
AU −3352+15113
Australia/Sydney
New South Wales (most areas) +10:00 +11:00
--
Etc/GMT+8
−08:00 −08:00
GB +513030−0000731
Europe/London
+00:00 +01:00

{{Time zone/zone.tab cols wiki6/sandbox}}

c.c. Coordinates Timezone name Comments UTC offset (Std.) UTC offset (DST)
CI +0519−00402
Africa/Abidjan
+00:00 +00:00
MA +3339−00735
Africa/Casablanca
+01:00 +00:00
US +394421−1045903
America/Denver
Mountain (most areas) −07:00 −06:00
US +340308−1181434
America/Los_Angeles
Pacific −08:00 −07:00
US +404251−0740023
America/New_York
Eastern (most areas) −05:00 −04:00
US +332654−1120424
America/Phoenix
MST – AZ (most areas), Creston BC −07:00 −07:00
AQ −720041+0023206
Antarctica/Troll
Troll +00:00 +02:00
KR +3733+12658
Asia/Seoul
+09:00 +09:00
JP +353916+1394441
Asia/Tokyo
Eyre Bird Observatory +09:00 +09:00
PT +3744−02540
Atlantic/Azores
Azores −01:00 +00:00
AU −3455+13835
Australia/Adelaide
South Australia +09:30 +10:30
AU −2728+15302
Australia/Brisbane
Queensland (most areas) +10:00 +10:00
AU −3352+15113
Australia/Sydney
New South Wales (most areas) +10:00 +11:00
--
Etc/GMT+8
−08:00 −08:00
GB +513030−0000731
Europe/London
+00:00 +01:00