Template:Featured article: Difference between revisions

tidied up the code to make it slightly easier to use
No edit summary
(tidied up the code to make it slightly easier to use)
Line 1: Line 1:
{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 7}}|
{{#switch:{{#expr:({{CURRENTDOW}}+{{CURRENTWEEK}}*7) mod 7}}
0=<!--Sunday--6/18-->Grubdogs|
|0=<!--Sunday----->Grubdogs
1=<!--Monday----6/19-->Submerged Castle|
|1=<!--Monday----->Submerged Castle
2=<!--Tuesday---6/20-->Pikmin 1|
|2=<!--Tuesday---->Pikmin 1
3=<!--Wednesday-6/21-->Titan Dweevil|
|3=<!--Wednesday-->Titan Dweevil
4=<!--Thursday--6/22-->Grubdogs|
|4=<!--Thursday--->Grubdogs
5=<!--Friday----6/16-->Pikmin 2|
|5=<!--Friday----->Pikmin 2
6=<!--Saturday--6/17-->Pikmin 1}}<noinclude>
|6=<!--Saturday--->Pikmin 1
}}<noinclude>
----
----
This is a list of the current rotation of featured articles.
This is a list of the current rotation of featured articles.
Line 15: Line 16:
! Article Name
! Article Name
|- | align="center"
|- | align="center"
|Jan 1
|Sunday (Dec 31st)
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|- | align="center"
|- | align="center"
|Jan 2
|Monday (Jan 1st)
|'''[[Template:FEATURE Submerged Castle|Submerged Castle]]'''
|'''[[Template:FEATURE Submerged Castle|Submerged Castle]]'''
|- | align="center"
|- | align="center"
|Jan 3
|Tuesday (Jan 2nd)
|'''[[Template:FEATURE Pikmin 1|Pikmin 1]]'''
|'''[[Template:FEATURE Pikmin 1|Pikmin 1]]'''
|- | align="center"
|- | align="center"
|Jan 4
|Wednesday (Jan 3rd)
|'''[[Template:FEATURE Titan Dweevil|Titan Dweevil]]'''
|'''[[Template:FEATURE Titan Dweevil|Titan Dweevil]]'''
|- | align="center"
|- | align="center"
|Jan 5
|Thursday (Jan 4th)
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|'''[[Template:FEATURE Grubdogs|Grubdogs]]'''
|- | align="center"
|- | align="center"
|Jan 6
|Friday (Jan 5th)
|'''[[Template:FEATURE Pikmin 2|Pikmin 2]]'''
|'''[[Template:FEATURE Pikmin 2|Pikmin 2]]'''
|- | align="center"
|- | align="center"
|Jan 7
|Saturday (Jan 6th)
|'''[[Template:FEATURE Pikmin 1|Pikmin 1]]'''
|'''[[Template:FEATURE Pikmin 1|Pikmin 1]]'''
|}
|}