Template:dailyarticle

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(added {{{day}}} parameter for tests)
(added explanation)
 
Line 1: Line 1:
-
{{#ifexist:HRWiki:Featured article for 2006, week {{{day|{{#time:z}}}}} |{{HRWiki:Featured article for 2006, week {{{day|{{#time:z}}}}}}}|
+
<noinclude>
 +
This template automatically selects a featured article based on the current day. It goes in chronological order from [[HRWiki:Featured article for 2006, week 1|2006, week 1]] (January 1) to [[HRWiki:Featured article for 2012, week 52|2012, week 52]] (December 31). It does not include featured articles prior to 2006, as that would increase the number to over 365 and complicate the template. If a day does not have an article assigned to it (for example, day 366 of a leap year), it defaults to the January 1 featured article. This template can be used with the "day" parameter, for example <code><nowiki>{{dailyarticle|day=365}}</nowiki></code>, to see the article for any given day.
 +
----
 +
</noinclude>{{#ifexist:HRWiki:Featured article for 2006, week {{{day|{{#time:z}}}}} |{{HRWiki:Featured article for 2006, week {{{day|{{#time:z}}}}}}}|
{{#ifexist:HRWiki:Featured article for 2006, week {{#expr:{{{day|{{#time:z}}}}}-52}}|{{HRWiki:Featured article for 2007, week {{#expr:{{{day|{{#time:z}}}}}-52}}}}|
{{#ifexist:HRWiki:Featured article for 2006, week {{#expr:{{{day|{{#time:z}}}}}-52}}|{{HRWiki:Featured article for 2007, week {{#expr:{{{day|{{#time:z}}}}}-52}}}}|
{{#ifexist:HRWiki:Featured article for 2007, week {{#expr:{{{day|{{#time:z}}}}}-104}}|{{HRWiki:Featured article for 2008, week {{#expr:{{{day|{{#time:z}}}}}-104}}}}|
{{#ifexist:HRWiki:Featured article for 2007, week {{#expr:{{{day|{{#time:z}}}}}-104}}|{{HRWiki:Featured article for 2008, week {{#expr:{{{day|{{#time:z}}}}}-104}}}}|

Current revision as of 01:14, 30 November 2020

This template automatically selects a featured article based on the current day. It goes in chronological order from 2006, week 1 (January 1) to 2012, week 52 (December 31). It does not include featured articles prior to 2006, as that would increase the number to over 365 and complicate the template. If a day does not have an article assigned to it (for example, day 366 of a leap year), it defaults to the January 1 featured article. This template can be used with the "day" parameter, for example {{dailyarticle|day=365}}, to see the article for any given day.


Maybe Strong Bad's invitation got "da-leet-ted"!

In labor day, the 83rd Strong Bad Email, released on Monday, September 1, 2003, Chrispy of Schenectady, NY, asks what Strong Bad is going to do for Labor Day. After learning that it is Labor Day, Strong Bad decides to take the day off from checking his email. Instead, he goes to hang out at The Stick, saying stuff to various people who walk by. However, after a while of doing this, Strong Bad gets bored and decides to go back to checking his email. Meanwhile, the whole gang, sans Strong Bad, is celebrating Labor Day with a barbecue. This email is the origin of Homestar Runner's tune, Everybody Knows It. (more...) watch