Template:Qotw/doc

Qotw 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, then this template looks for and places its contents on the main page. If a week doesn't exist, then this template will come up with a sort of random number. So if the current week number is, then the "random" substitute would be

To change the QOTW, you must change one of the following sub templates: Although most years have only 52 weeks, some years — like 2009 — have 53, according to the calculations that he MediaWiki software uses to determine week numbers. The reason why the software believes there are sometimes 53 weeks in a year, even though humans ordinarily believe there are invariably 52, is becuase the MediaWiki software that runs the wiki — like most software — employs what's called the.