Board Thread:Wiki management/@comment-28639118-20160130110118/@comment-28639118-20160203064133

Starfruity wrote: I meant more along the lines of how the Challenge of the Day template works. It doesn't require anything to be inputed; it just cycles every day. For this it would cycle every week. About FotD, be patient and wait 'til next week to see if my experiment work or not.

CotD = Challenge of the Day

CotD template uses the switch thingy (just like my experiment) to change into a new CotD every time that  changes. For more about these, see this page

And I'm sure that you've known about the switch template. In case that you don't know, here's how it works (you should know about this, this is VERY IMPORTANT about desgining pages and infoboxes):

This function compares one input value against several test cases, returning an associated string if a match is found.

For example, I put this in the code:

{{#switch: {{Template}} means that I want to compare that template which name is Template, or Template:Template for short. | Starfruit = Hi! Starfruit! means that if I put Starfruit in that template, the result will be: Hi! Starfruit! | Lily = Hi! Lily! means that if I put Lily in that template, the result will be: Hi! Lily! | Hi!... Whatever you are! means that if the words I put in the template is not Starfruit, or either Lily, the result will be: Hi!... Whatever you are! For more informations about it, see: https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23switch (Seriously, I didn't even finish reading this section!)

The #time only works for days, months, years, etc. but not for weeks. So, I have to use the magic words to make my experiment changes every week.