Template:Dailyimage: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(a beta version with only one image being returned ATM)
 
No edit summary
Line 2: Line 2:


<includeonly>{{#switch:{{LOCALDAY}}
<includeonly>{{#switch:{{LOCALDAY}}
|1=Image:Chibi_Shinatama_Final_by_RedDog.png
|1="Image:Chibi_Shinatama_Final_by_RedDog.png"
|2=Image:Chibi_Shinatama_Final_by_RedDog.png
|2="Image:Chibi_Shinatama_Final_by_RedDog.png"
|3=Image:Chibi_Shinatama_Final_by_RedDog.png
|3="Image:Chibi_Shinatama_Final_by_RedDog.png"
|4=Image:Chibi_Shinatama_Final_by_RedDog.png
|4="Image:Chibi_Shinatama_Final_by_RedDog.png"
|5=Image:Chibi_Shinatama_Final_by_RedDog.png
|5="Image:Chibi_Shinatama_Final_by_RedDog.png"
|6=Image:Chibi_Shinatama_Final_by_RedDog.png
|6="Image:Chibi_Shinatama_Final_by_RedDog.png"
|7=Image:Chibi_Shinatama_Final_by_RedDog.png}}</includeonly>
|7="Image:Chibi_Shinatama_Final_by_RedDog.png"}}</includeonly>

Revision as of 17:42, 1 August 2008

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.