Difference between revisions of "QOTD"
m (Overwrote day 16 - was PurplApp for ADN) |
m (Updated day 17) |
||
Line 25: | Line 25: | ||
|15=Would you like to write a themed short story every week? [[WednesdayChallenge]] could be for you. | |15=Would you like to write a themed short story every week? [[WednesdayChallenge]] could be for you. | ||
|16=How good is your memory? Could you write about pnut.io's [[History]]? | |16=How good is your memory? Could you write about pnut.io's [[History]]? | ||
− | |17=Is everyone is welcome here | + | |17=Is everyone is welcome here? [x] Do we behave like adults? [...] |
|18=Do you like bees? Peanuts? Android? Apple? You're welcome here. | |18=Do you like bees? Peanuts? Android? Apple? You're welcome here. | ||
|19=Have you tried [[QuoteSunday]] yet? | |19=Have you tried [[QuoteSunday]] yet? |
Revision as of 05:24, 17 October 2017
? |
Initial release. Current status: Random edits in progress! Developed originally for the ADN Wiki, and intended to generate a pithy or useful quotation every day of the month. Useful, pnut-specific facts would be nice to show on the Main Page. |
Quotation-Of-The-Day
For the pnut.io Wiki, of course.
A live example:
pnut of the day:
Feeling creative? Try the #WednesdayChallenge/#WedC (coming soon!)
It uses code like the following, the middle is removed for brevity:
{{#switch: {{CURRENTDAY}} |0=Something went wrong. Bend over. |1=What's happening? [[Events|This is.]] ... |31=The pnut.io Wiki has [[ToDo|pages that need work.]] |32=Something went wrong. Hands up! }}
The 'switch' command uses a system variable 'CURRENTDAY' and looks through a list of entries starting with a "|" and a number which corresponds to the CURRENTDAY of the month. '0' and '32' are superfluous.