Template:Dailyimage: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
No edit summary
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:{{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.pn
|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:47, 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.