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.


"Happy Trogday, Troggie!"

In Happy Trogday, released on Friday, January 13, 2006, it is Trogdor's third birthday, and Strong Bad celebrates the occasion with a kick-awesome montage of fanstuff involving the dragon, from pancakes to Microsoft Paint drawings to vanity plates, all to the heavy metal rendition of the Trogdor theme song from Strong Bad Sings and Other Type Hits, albeit shortened to match the form of the original song, as heard in the email of origin. Then, after the montage ends, the action then shifts abruptly to Planet K, where Stinkoman complains that his birthday was last week, but no one celebrated it. An unexpected visitor changes that, though. (more...) watch

Personal tools