Difference between revisions of "QOTD"
m (Edited content) |
m (Replaced ADN #BookClub with #WednesdayChallenge) |
||
Line 22: | Line 22: | ||
|13=pnut.io went live on September 10 2016. | |13=pnut.io went live on September 10 2016. | ||
|14=Are you a hacker? Try the [[Hackathon|#Hackathons!]] | |14=Are you a hacker? Try the [[Hackathon|#Hackathons!]] | ||
− | |15= | + | |15=Would you like to write a themed short story every week? [[WednesdayChallenge]] could be for you. |
|16=Do you like statistics? [[Purplapp]] is for you! | |16=Do you like statistics? [[Purplapp]] is for you! | ||
|17=Is everyone is welcome here. [x] Do we behave like adults? [.] | |17=Is everyone is welcome here. [x] Do we behave like adults? [.] |
Revision as of 19:19, 14 October 2017
? |
Initial release contains only broken links and history. 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. |
A sample Quotation-Of-The-Day snippet for transclusion into another page
For the pnut.io Wiki, of course.
An example:
pnut.io has Apps and services!
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.