Template:User time zone/forced DST/doc: Difference between revisions
Appearance
Content deleted Content added
m →See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other |
to reflect page moves |
||
Line 3: | Line 3: | ||
==Usage== |
==Usage== |
||
The first variable of the template represents the name of your standard time zone, it can be [[Coordinated Universal Time|UTC]] with |
The first variable of the template represents the name of your standard time zone, it can be [[Coordinated Universal Time|UTC]] with an offset or the zone's abbreviation. The second variable of the template represents the name of your time zone during daylight savings, it can be UTC with an offset or the zone's abbreviation. The third and fourth variables are the links for the time zone abbreviation to point to - by default, this is the abbreviation itself, which is usually a disambiguation, not the intended article. |
||
===Samples=== |
===Samples=== |
||
Line 10: | Line 10: | ||
!Stand alone code |
!Stand alone code |
||
|- |
|- |
||
|{{User time zone/forced DST|UTC|UTC+01}} |
|{{User time zone/forced DST|UTC±00:00|UTC+01:00}} |
||
|<pre>{{User time zone/forced DST|UTC|UTC+01}}</pre> |
|<pre>{{User time zone/forced DST|UTC±00:00|UTC+01:00}}</pre> |
||
|- |
|- |
||
|{{User time zone/forced DST|UTC−07|UTC−06}} |
|{{User time zone/forced DST|UTC−07:00|UTC−06:00}} |
||
|<pre>{{User time zone/forced DST|UTC−07|UTC−06}}</pre> |
|<pre>{{User time zone/forced DST|UTC−07:00|UTC−06:00}}</pre> |
||
|- |
|- |
||
|{{User time zone/forced DST|MST|MDT|Mountain Standard Time|Mountain Daylight Time}} |
|{{User time zone/forced DST|MST|MDT|Mountain Standard Time|Mountain Daylight Time}} |
||
Line 21: | Line 21: | ||
|{{User time zone/forced DST|UTC−03:30|UTC−02:30}} |
|{{User time zone/forced DST|UTC−03:30|UTC−02:30}} |
||
|<pre>{{User time zone/forced DST|UTC−03:30|UTC−02:30}}</pre> |
|<pre>{{User time zone/forced DST|UTC−03:30|UTC−02:30}}</pre> |
||
|- |
|||
|{{User time zone/forced DST|UTC−03|UTC−02}} |
|||
|<pre>{{User time zone/forced DST|UTC−03|UTC−02}}</pre> |
|||
|} |
|} |
||
Line 30: | Line 27: | ||
==See also== |
==See also== |
||
*[[:Template:User time zone/DST]] for |
*[[:Template:User time zone/DST]] for |
||
{{User time zone/DST|UTC−07:00|UTC−06:00|March to October}} |
|||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
Revision as of 19:17, 4 September 2020
![]() | This is a documentation subpage for Template:User time zone/forced DST. It may contain usage information, categories and other content that is not part of the original template page. |
This template requires at least two variables, please see usage.
Usage
The first variable of the template represents the name of your standard time zone, it can be UTC with an offset or the zone's abbreviation. The second variable of the template represents the name of your time zone during daylight savings, it can be UTC with an offset or the zone's abbreviation. The third and fourth variables are the links for the time zone abbreviation to point to - by default, this is the abbreviation itself, which is usually a disambiguation, not the intended article.
Samples
Template output | Stand alone code |
---|---|
{{User time zone/forced DST|UTC±00:00|UTC+01:00}} | |
{{User time zone/forced DST|UTC−07:00|UTC−06:00}} | |
{{User time zone/forced DST|MST|MDT|Mountain Standard Time|Mountain Daylight Time}} | |
{{User time zone/forced DST|UTC−03:30|UTC−02:30}} |
Available UTC offsets
See also
UTC−07:00 UTC−06:00 | This user has a standard time zone of UTC−07:00, but uses UTC−06:00 from March to October. |