Tip: Adding an Event to Upcoming Events

From Gumnickopedia

Jump to: navigation, search
I’ve set up some automation to make it a little easier to add an event page. I suggest that you read through all of the instructions before you start, because after step 3, you’ll leave this page. Or open another copy of this page in a second window so you can read the instructions as you go along. After you’ve done it once or twice it’s a piece of cake.

Here’s what you do:

  1. Copy the line of code below.
  2. Type the name of your event in the box below.
  3. Click “Add Event.”
  4. Paste the code into the new page.
  5. Click “Save page.”
  6. Click “Edit” to fill in the details. The variables are as follows:
    1. longdate = full month and day; for example, “January 11.”
    2. month = two-digit number for the month, with leading zero as appropriate; January = 01, February = 02, etc.
    3. day = two-digit number for the day, with leading zero as needed: 01, 02, 03, …, 29, 30, 31.
    4. description = any text you care to enter, including links, pictures, and any other Wiki code.
  7. When you’re finished, save the page again.


Select and copy this code:

{{subst:NewEvent}}

Now type the name of the event into the following box. For holidays, start the name with “Holiday: ” to distinguish the event calendar listing from any other articles about the holiday.


 
Click the “Back“ button on your browser to return to the page from which you came.


Personal tools