Help:Template:gcal

From VrlWiki
Revision as of 19:30, 10 September 2008 by Jadrian Miles (talk | contribs)
Jump to navigation Jump to search

Template:gcal adds a Google calendar to the including page. To embed a calendar into a page, first get its ID:

  1. Open up Google calendar.
  2. Select the drop-down menu for the calendar you want and select "Calendar settings".
  3. Scroll down to "Embed This Calendar".
  4. In the text box containing the embed code, look for a string like src=<long_string_of_stuff>&ctz=...
  5. Copy the string between src= and &ctz=

Now, in the wiki page where you want to embed the calendar, insert the following code snippet, replacing <src_string> with the string you copied in the previous step:

{{#shtml:Template:gcal | src=<src_string>}}