Template:Dailyimage: Difference between revisions

From OniGalore
m (+cat)
(made one image narrower to fit properly under Vector 2022; removed unneeded size directive on another (it's already 128px))
 
(2 intermediate revisions by the same user not shown)
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. --'''Iritscen'''[[Category:Basic formatting templates]]</noinclude>
<noinclude>This template returns one of [[seven]] images based on the current day of the week (going by server time). This was created in order to shuffle the image being displayed on the Main Page.
 
[[Category:Basic formatting templates]]</noinclude>


<includeonly>
<includeonly>
{{#switch:{{LOCALDOW}}
{{#switch:{{{1|{{LOCALDOW}}}}}
|1=[[Image:Chibi_Shinatama_Final_by_RedDog.png|177px]]
|1=[[Image:Rina - Chibi Shinatama Final.png|177px]]
|2=[[Image:GUIDO_Kon_face_11.jpg|177px]]
|2=[[Image:Guido - Kon face 11.jpg|177px]]
|3=[[Image:GuidoArt-Beaten-MPcrop.jpg]]
|3=[[Image:Guido - Beaten (MPcrop).jpg]]
|4=[[Image:GUIDO_Mai_teaser-MPcrop.jpg]]
|4=[[Image:Guido - Mai teaser (MPcrop).jpg|300px]]
|5=[[Image:GUIDO_Hikari_TCTF-MPcrop.jpg]]
|5=[[Image:Guido - Hikari TCTF (MPcrop).jpg]]
|6=[[Image:GuidoArt-randomfaces_%28copy%29-MPcrop.jpg]]
|6=[[Image:Guido - Random Faces (MPcrop).jpg]]
|0=[[Image:TXMPPOSTER3.png|128px]]}}
|0=[[Image:TXMPPOSTER3.png]]}}
</includeonly>
</includeonly>

Latest revision as of 15:46, 4 December 2025

This template returns one of seven images based on the current day of the week (going by server time). This was created in order to shuffle the image being displayed on the Main Page.