Template:Dailyimage: Difference between revisions

yay, it works (with help from geyser). Now varying images from day to day.
No edit summary
(yay, it works (with help from geyser). Now varying images from day to day.)
Line 1: Line 1:
<noinclude>This template returns one of seven possible images based on what day of the week we're on (by server time), to be displayed on the Main Page. At least for now, the images that are used are hardcoded in the template rather than coming from a pool that's maintained somewhere else. Sue me.</noinclude>
<noinclude>This template returns one of seven possible images based on what day of the week we're on (by server time), to be displayed on the Main Page. At least for now, the images that are used are hardcoded in the template rather than coming from a pool that's maintained somewhere else. Sue me.</noinclude>


<includeonly>{{#switch:{{LOCALDAY}}
<includeonly>{{#switch:{{LOCALDOW}}
|1=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|1=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|2=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|2=[[Image:GUIDO_Kon_face_11.jpg|177px]]
|3=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|3=[[Image:GUIDO_Hikari_TCTF-MPcrop.jpg]]
|4=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|4=[[Image:GUIDO_Mai_teaser-MPcrop.jpg]]
|5=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|5=[[Image:GuidoArt-Beaten-MPcrop.jpg]]
|6=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|6=[[Image:GuidoArt-randomfaces_%28copy%29-MPcrop.jpg]]
|7=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]}}</includeonly>
|7=[[Image:GUIDORaggedKonoko-MPcrop.jpg]]}}</includeonly>