Template:Transmat DW/doc: Difference between revisions
(Created page with "'''{{tl|{{PAGENAME}}}}''' is the driving engine behind the automatic replacement of the Quote of the Week section of the main page. It looks for a sub-template of this one la...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
<span id=ssh>Today is {{CURRENTDAY}} {{CURRENTMONTHNAME}}, which is in Week {{CURRENTWEEK}}.</span> <br /><span id=ss>Week {{#expr:({{CURRENTWEEK}} + 1)}} begins in {{#expr:(7-{{CURRENTDOW}})}} days, on the midnight (UTC) that divides Sunday from Monday.</span> | <span id=ssh>Today is {{CURRENTDAY}} {{CURRENTMONTHNAME}}, which is in Week {{CURRENTWEEK}}.</span> <br /><span id=ss>Week {{#expr:({{CURRENTWEEK}} + 1)}} begins in {{#expr:(7-{{CURRENTDOW}})}} days, on the midnight (UTC) that divides Sunday from Monday.</span> | ||
<div style="font-size:200%;line-height:125%"> | <div style="font-size:200%;line-height:125%"> | ||
<code>[[{{ | <code>[[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/2|2]] [[{{FULLPAGENAME}}/3|3]] [[{{FULLPAGENAME}}/4|4]] [[{{FULLPAGENAME}}/5|5]] [[{{FULLPAGENAME}}/6|6]] [[{{FULLPAGENAME}}/7|7]] [[{{FULLPAGENAME}}/8|8]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] [[{{FULLPAGENAME}}/1|1]] | ||
[[ | |||
[[ | |||
[[ | |||
</code> | </code> | ||
</div> | </div> | ||
Line 22: | Line 15: | ||
If this revelation screws with your concept of time, don't sweat it. Only about 70 years out of every 400 have 53 weeks, and we've just had one. Basically they happen every 5 or 6 years. So, 53 week years within the likely life of this wiki are [[2004]], [[2009]], [[2015]], [[2020]], [[2026]], and [[2032]]. | If this revelation screws with your concept of time, don't sweat it. Only about 70 years out of every 400 have 53 weeks, and we've just had one. Basically they happen every 5 or 6 years. So, 53 week years within the likely life of this wiki are [[2004]], [[2009]], [[2015]], [[2020]], [[2026]], and [[2032]]. | ||
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude> | <noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude> |
Latest revision as of 22:32, 26 September 2013
{{Transmat DW/doc}} is the driving engine behind the automatic replacement of the Quote of the Week section of the main page. It looks for a sub-template of this one labelled by the number of the current week, then transcludes that template on the main page. For instance if its Week 27, then this template looks for {{Transmat DW/doc/27}} and places it wherever {{Transmat DW/doc}} is placed — namely, the main page.
This template is fully locked, because it is merely the conduit through which the actual quote of the week text passes. To change the quote of the week, you must change one of the following sub templates.
Today is 7 November, which is in Week 45.
Week 46 begins in 3 days, on the midnight (UTC) that divides Sunday from Monday.
Note that for the period of time that the above pages are being populated, the default for each week is the contents of {{qotw/26}}. Also, the weeks are not being filled in sequentially, but thematically. Therefore, much of February-May, July-August and December-January was completed first.
53 weeks?[[edit source]]
Although most years have only 52 weeks, some years — like 2009 — have 53, according to the software running this wiki. This is because the software employs what's called the ISO week date.
If this revelation screws with your concept of time, don't sweat it. Only about 70 years out of every 400 have 53 weeks, and we've just had one. Basically they happen every 5 or 6 years. So, 53 week years within the likely life of this wiki are 2004, 2009, 2015, 2020, 2026, and 2032.