Changes
Template:Current daylight saving offset documentation (view source)
Revision as of 04:39, 17 August 2018
, 6 years agono edit summary
=== Usage ===
This template gives the {{lcfirst:{{BASEPAGENAME}}}}. The local time depends on the time zone. This template will automate the changes in daylight saving offset. {{{extra|}}}
{|class="wikitable"
|-
!colspan=3|<big>Summer Time</big><includeonly><sup>{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{ed|Template:{{BASEPAGENAME}}/doc/row}} | <span class="plainlinks">[{{fullurl:Template:{{BASEPAGENAME}}/doc/row|action=edit&preload={{urlencode:Template:Current daylight saving offset documentation/Preload}}}} create]</span> }}</sup></includeonly>
|-
!Year
!Summer Time begins/ends<ref>Clocks go forward, value is changed from x to x+1.</ref><br /> on
!Summer Time ends/begins<ref>Clocks go back, value is changed from x+1 to x.</ref><br /> on
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{CURRENTYEAR}}}} | {{!}}- }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+1}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+2}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+3}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+4}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+5}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+6}}}} }}
|}
{{{note|}}}
===Notes===
{{reflist}}
<includeonly>
{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|
<!-- CATEGORIES HERE, THANKS -->
[[Category:Current daylight-saving offset templates|{{PAGENAME}}]]
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
}}
</includeonly><noinclude>
[[Category:Template documentation]]
</noinclude>
This template gives the {{lcfirst:{{BASEPAGENAME}}}}. The local time depends on the time zone. This template will automate the changes in daylight saving offset. {{{extra|}}}
{|class="wikitable"
|-
!colspan=3|<big>Summer Time</big><includeonly><sup>{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{ed|Template:{{BASEPAGENAME}}/doc/row}} | <span class="plainlinks">[{{fullurl:Template:{{BASEPAGENAME}}/doc/row|action=edit&preload={{urlencode:Template:Current daylight saving offset documentation/Preload}}}} create]</span> }}</sup></includeonly>
|-
!Year
!Summer Time begins/ends<ref>Clocks go forward, value is changed from x to x+1.</ref><br /> on
!Summer Time ends/begins<ref>Clocks go back, value is changed from x+1 to x.</ref><br /> on
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{CURRENTYEAR}}}} | {{!}}- }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+1}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+2}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+3}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+4}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+5}}}} }}
{{#ifexist: Template:{{BASEPAGENAME}}/doc/row | {{{{BASEPAGENAME}}/doc/row|{{#expr:{{CURRENTYEAR}}+6}}}} }}
|}
{{{note|}}}
===Notes===
{{reflist}}
<includeonly>
{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|
<!-- CATEGORIES HERE, THANKS -->
[[Category:Current daylight-saving offset templates|{{PAGENAME}}]]
[[Category:Date-computing templates based on current time|{{PAGENAME}}]]
}}
</includeonly><noinclude>
[[Category:Template documentation]]
</noinclude>