Usage
Options
- |12h Shows time as h:mm am/pm, using 12-hour time. If this is missing, default shows time as H:mm, using 24-hour time.
- |tz= Your local time zone abbreviation. All time zones allowed by the template {{Time}} can be used. Please use the abbreviation shown there. This option incorporates summer time (daylight saving) changes in time zones that have them. So if you live in a place with summer time (daylight savings), it is better to use this option than the |offset= option.
- |offset= Your local time zone difference compared to UTC in hours. This will not include summer time changes.
- East of UTC: Use |offset=+n. For example, in China, use |offset=+8; in India, use |offset=+5.5.
- West of UTC: Use |offset=-n. For example, in Arizona, use |offset=-7; in Venezuela, use |offset=-4.5.
- Default is UTC.
- If you include both |offset= and |tz= options, |offset= will be used and |tz= will be ignored.
Examples
{{User timebox2}}
|
It is about 11:01 where this user lives.[Purge]
|
{{User timebox2|12h}}
|
It is about 11:01 am where this user lives.[Purge]
|
{{User timebox2|tz=EST}}
|
It is about 6:01 where this user lives.[Purge]
|
{{User timebox2|12h|tz=EST}}
|
It is about 6:01 am where this user lives.[Purge]
|
{{User timebox2|offset=+5.5}}
|
It is about 16:31 where this user lives.[Purge]
|
{{User timebox2|12h|offset=+5.5}}
|
It is about 4:31 pm where this user lives.[Purge]
|
Related pages
This template was built as a modification of
- User:Gwib/timebox (change · talk · history · links · watch · logs · delete)