Main Page/POTD: Difference between revisions

m
Reverted edits by Gtabot (talk) to last revision by IanPhoenix
m (Tidy, added orphan tag)
m (Reverted edits by Gtabot (talk) to last revision by IanPhoenix)
Line 1: Line 1:
{{Orphan|date=October 2013}}
<noinclude>We are currently testing using a random image rather than pre-selected picture-of-the-day.
<noinclude>We are currently testing using a random image rather than pre-selected picture-of-the-day.


Line 10: Line 8:


{{#switch:{{CURRENTDAYNAME}}|Monday={{:Main Page/POTD/Monday}}|Tuesday={{:Main Page/POTD/Tuesday}}|Wednesday={{:Main Page/POTD/Wednesday}}|Thursday={{:Main Page/POTD/Thursday}}|Friday={{:Main Page/POTD/Friday}}|Saturday={{:Main Page/POTD/Saturday}}|Sunday={{:Main Page/POTD/Sunday}}}}
{{#switch:{{CURRENTDAYNAME}}|Monday={{:Main Page/POTD/Monday}}|Tuesday={{:Main Page/POTD/Tuesday}}|Wednesday={{:Main Page/POTD/Wednesday}}|Thursday={{:Main Page/POTD/Thursday}}|Friday={{:Main Page/POTD/Friday}}|Saturday={{:Main Page/POTD/Saturday}}|Sunday={{:Main Page/POTD/Sunday}}}}


The Picture Of The Day is changed automatically on Grand Theft Wiki. The image at [[/Monday]] is used on Mondays, [[/Tuesday]] for Tuesdays, and so on for [[/Wednesday]], [[/Thursday]], [[/Friday]], [[/Saturday]] and [[/Sunday]]. Feel free to edit the pictures of the day for each of those days, and they will show up on the correct day.
The Picture Of The Day is changed automatically on Grand Theft Wiki. The image at [[/Monday]] is used on Mondays, [[/Tuesday]] for Tuesdays, and so on for [[/Wednesday]], [[/Thursday]], [[/Friday]], [[/Saturday]] and [[/Sunday]]. Feel free to edit the pictures of the day for each of those days, and they will show up on the correct day.
Line 17: Line 16:
To edit the code at each of those pages, simply change the filename (the bit after Image:) to the name of your selected image. Change the caption (the text at the end) to something appropriate, and link to its relevant page. The size (width) of the image should always be 300px, unless the image is particularly tall.
To edit the code at each of those pages, simply change the filename (the bit after Image:) to the name of your selected image. Change the caption (the text at the end) to something appropriate, and link to its relevant page. The size (width) of the image should always be 300px, unless the image is particularly tall.


You can include <nowiki>[[links]]</nowiki> in the caption, but you must make sure there is exactly the right number of square brackets  or else the entire image will fail to work. Don't forget to always preview your changes before you save them, so that you can correct them if there is a problem.
You can include <nowiki>[[links]]</nowiki> in the caption, but you must make sure there is exactly the right number of square brackets [[ ]] or else the entire image will fail to work. Don't forget to always preview your changes before you save them, so that you can correct them if there is a problem.


If you are unsure how to do something, [[{{TALKPAGENAME}}|ask]].
If you are unsure how to do something, [[{{TALKPAGENAME}}|ask]].


Example:<br />
Example:<br />
Line 42: Line 42:


<!--- CHANGE THE CODE AT THE TOP ---></noinclude><noinclude>
<!--- CHANGE THE CODE AT THE TOP ---></noinclude><noinclude>
</noinclude>
[[Category:POTD]]</noinclude>
 
[[Category:POTD]]
[[Category:Main Page]]
[[Category:Main Page]]