Difference between revisions of "Template:Time Table"

(Added documentation)
Line 6: Line 6:
 
{{{!}} border=1 cellpadding=10 style="text-align: center; border-collapse: collapse;"
 
{{{!}} border=1 cellpadding=10 style="text-align: center; border-collapse: collapse;"
 
{{!}} ''{{trim|{{{1}}}}}''
 
{{!}} ''{{trim|{{{1}}}}}''
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|T}}
+
! <abbr title="{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|e}} (GMT{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|P}})">{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|T}}</abbr>
 
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/New_York|T}}
 
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/New_York|T}}
 
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Etc/GMT|T}}
 
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Etc/GMT|T}}
Line 70: Line 70:
 
{{{!}} border=1 cellpadding=10 style="text-align: center; border-collapse: collapse;"
 
{{{!}} border=1 cellpadding=10 style="text-align: center; border-collapse: collapse;"
 
{{!}} ''{{trim|{{{1}}}}}''
 
{{!}} ''{{trim|{{{1}}}}}''
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|T}}
+
! <abbr title="America/Los_Angeles (GMT{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|P}})">{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/Los_Angeles|T}}</abbr>
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/New_York|T}}
+
! <abbr title="America/New_York (GMT{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/New_York|P}}})">{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|America/New_York|T}}</abbr>
 
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Etc/GMT|T}}
 
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Etc/GMT|T}}
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Europe/London|T}}
+
! <abbr title="Europe/London (GMT{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Europe/London|P}}})">{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Europe/London|T}}</abbr>
! {{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Europe/Amsterdam|T}}
+
! <abbr title="Europe/Amsterdam (GMT{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Europe/Amsterdam|P}}})">{{#timeconvert:{{{1}}} {{{2}}} {{{timezone|GMT}}}|Europe/Amsterdam|T}}</abbr>
 
{{!}}-
 
{{!}}-
 
! {{{label1|First Round}}}
 
! {{{label1|First Round}}}

Revision as of 09:05, 17 April 2015


About

This template shows a table of time conversions for the following time zones:

  • America/Los_Angeles
  • America/New_York
  • GMT
  • Europe/London (when appropriate)
  • Europe/Amsterdam

Anonymous Parameters

  • The 1st anonymous parameter must be a date, such as 2020-11-26.
  • The anonymous parameters 2-10 are times, such as 12:04. The 24-hour or 12-hour format can be used. The times use the time zone specified by the timezone template parameter.

Optional Named Parameters

  • timezone: Defaults to GMT. Specifies the time zone used by the listed anonymous parameter times.
  • label1, label2, ..., label9: Defaults to "First Round", "Second Round", ..., "Ninth Round". The label for the (n + 1) anonymous parameter used in the time table.

Examples

A time table for the times 17:00 and 18:00 on today's date. The times are specified using the default GMT time zone.

{{Time Table|2020-11-26|17:00|18:00}}


2020-11-26 America/Los_Angeles|T}} America/New_York|T}} Etc/GMT|T}} Europe/London|T}} Europe/Amsterdam|T}}
First Round America/Los_Angeles|g:i A}} America/New_York|g:i A}} Etc/GMT|G:i}} Europe/London|G:i}} Europe/Amsterdam|G:i}}
Second Round America/Los_Angeles|g:i A}} America/New_York|g:i A}} Etc/GMT|G:i}} Europe/London|G:i}} Europe/Amsterdam|G:i}}



The same date and times as the previous example, but with custom labels.

{{Time Table|2020-11-26|17:00|18:00|label1=Opening Round|label2=Closing Round}}


2020-11-26 America/Los_Angeles|T}} America/New_York|T}} Etc/GMT|T}} Europe/London|T}} Europe/Amsterdam|T}}
Opening Round America/Los_Angeles|g:i A}} America/New_York|g:i A}} Etc/GMT|G:i}} Europe/London|G:i}} Europe/Amsterdam|G:i}}
Closing Round America/Los_Angeles|g:i A}} America/New_York|g:i A}} Etc/GMT|G:i}} Europe/London|G:i}} Europe/Amsterdam|G:i}}



Using the America/New_York timezone for the specified times of 10:00 and 11:00.

{{Time Table|2020-11-26|10:00|11:00|timezone=America/New_York}}


2020-11-26 America/Los_Angeles|T}} America/New_York|T}} Etc/GMT|T}} Europe/London|T}} Europe/Amsterdam|T}}
First Round America/Los_Angeles|g:i A}} America/New_York|g:i A}} Etc/GMT|G:i}} Europe/London|G:i}} Europe/Amsterdam|G:i}}
Second Round America/Los_Angeles|g:i A}} America/New_York|g:i A}} Etc/GMT|G:i}} Europe/London|G:i}} Europe/Amsterdam|G:i}}