Difference between revisions of "QOTD"

From Community Pnut.io Wiki
Jump to: navigation, search
m (Fixed text added in wrong place)
m (More updates. It might even be worthy of release)
Line 12: Line 12:
 
  |3=The pnut.io Wiki has [[ToDo|pages that need work.]]
 
  |3=The pnut.io Wiki has [[ToDo|pages that need work.]]
 
  |4=Who makes this Wiki? [[Users|WE do!]]
 
  |4=Who makes this Wiki? [[Users|WE do!]]
  |5=App.net has [[Private_Messaging|private messaging.]]
+
  |5=pnut.io has Private_Messaging. Of course.
  |6=Want to know about other users? Try [[Discover_ADN|@DiscoverADN]]
+
  |6=Want to know about other Wiki users? Check out their [[Users|pages.]]
  |7=Did you know App.net also has [[File_Storage|file storage]]?
+
  |7=Did you know pnut.io also has [[File_Storage|file storage]]?
  |8=There are a number of improvement [[ADN_Initiatives|initiatives]] in progress.
+
  |8=There are a number of improvement [[ToDo|initiatives]] in progress.
  |9=Lots of quality posts? App.net has [[Post_Count_Achievements|badges!]]
+
  |9=Lots of quality posts? pnut.io has has [[PCA|post count badges!]]
  |10=Have you got a [[Cookie_Club|Cookie?]]
+
  |10=Have you got a [[PCA|Cookie?]]
  |11=Have you got App.net's [[OfficialApp|official app?]]
+
  |11=Have you got any [[Apps]] yet?
  |12=Do you like football (soccer)? Search for the [[ADNFC|#ADNFC]] hashtag.
+
  |12=Do you like music? Search for the [[MNDP_(Monday_Night_Dance_Party)|#MondayNightDanceParty!]] hashtag.
 
  |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=The ADN [[BookClub]] meets every 15th.
 
  |15=The ADN [[BookClub]] meets every 15th.
 
  |16=Do you like statistics? [[Purplapp]] is for you!
 
  |16=Do you like statistics? [[Purplapp]] is for you!
  |17=Every Friday: [[WorkChat|#WorkChat!]]
+
  |17=Is everyone is welcome here. [x] Do we behave like adults? [.]
  |18=Want Push notifications? There's [[Broadcast]].
+
  |18=Do you like bees? Peanuts? Android? Apple? You're welcome here.
 
  |19=Have you tried [[QuoteSunday]] yet?
 
  |19=Have you tried [[QuoteSunday]] yet?
 
  |20=Every Monday: [[MNDP_(Monday_Night_Dance_Party)|#MondayNightDanceParty!]]
 
  |20=Every Monday: [[MNDP_(Monday_Night_Dance_Party)|#MondayNightDanceParty!]]
  |21=Feeling artistic? Try the [[TuesdayChallenge|#TuesdayChallenge]]!
+
  |21=Feeling artistic? Want to start up a [[TuesdayChallenge|#TuesdayChallenge]]?
  |22=Feeling creative? Try the [[WednesdayChallenge|WednesdayChallenge]]!
+
  |22=Feeling creative? Try the [[WednesdayChallenge|#WednesdayChallenge/#WedC]] (coming soon!)
  |23=New to ADN? Try [[App.net_resources_for_new_users|our resources.]]
+
  |23=New to pnut.io? don't wait to be invited to chat, just chat!
 
  |24=pnut.io has [[Apps|Apps and services!]]
 
  |24=pnut.io has [[Apps|Apps and services!]]
  |25=Why not try making a page [[Help:Editing|better?]]
+
  |25=Why not try making a page? Eventually the [[https://wiki.pnut.io/Help:StyleGuide|Style Guide may be useful.]]
  |26=[[App.Net_Wiki:Community_portal|What's happening]] at the Wiki?
+
  |26=Are you a developer? Take a look at [https://pnut.io/docs the API docs.]
 
  |27=[[Events|What's happening]] across pnut.io?
 
  |27=[[Events|What's happening]] across pnut.io?
 
  |28=Want chatrooms? pnut.io has [[Patter_Rooms|public and private.]]
 
  |28=Want chatrooms? pnut.io has [[Patter_Rooms|public and private.]]
Line 47: Line 47:
 
{{#switch: {{CURRENTDAY}}
 
{{#switch: {{CURRENTDAY}}
 
  |0=Something went wrong. Bend over.
 
  |0=Something went wrong. Bend over.
  |1=What's happening? [[App.Net_Wiki:Current_events|This is.]]
+
  |1=What's happening? [[Events|This is.]]
 
  ...
 
  ...
  |31=The App.net Wiki has [[Pages_that_need_work|pages that need work.]]
+
  |31=The pnut.io Wiki has [[ToDo|pages that need work.]]
 
  |32=Something went wrong. Hands up!
 
  |32=Something went wrong. Hands up!
 
}}
 
}}

Revision as of 06:36, 28 September 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:


The pnut.io Wiki has pages that need work.



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.