|
|
Line 1: |
Line 1: |
| | | <iframe style="border: 0;" src="https://calendar.google.com/calendar/embed?src=kzoomakers.org_fkmebp59ti7pvl271vp65p1k8s%40group.calendar.google.com&ctz=America/New_York" width="600" height="450" frameborder="0" scrolling="no"></iframe></p> |
| | |
| | |
| https://www.mediawikiwidgets.org/Google_Calendar# | |
| | |
| | |
| This widget allows you to add '''[http://www.google.com/calendar/embedhelper Google Calendar]''' widget to your wiki page.
| |
| | |
| It was originally created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] for TechPresentations.org
| |
| | |
| To insert this widget, use the following code:
| |
| | |
| <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
| |
| |id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com
| |
| |color=2952A3
| |
| |id=usa@holiday.calendar.google.com
| |
| |color=B1440E
| |
| |title=NYCResistor, US Holidays
| |
| }}</nowiki>
| |
| | |
| == Parameters == | |
| * '''id''' - is a calendar ID (including <code>@calendar.google.com</code>, come match user email addresses) - can be found on the calendar settings page
| |
| * '''title''' - new title if you want to override calendar title (optional)
| |
| * '''height''' and '''width''' define calendar dimensions, 100%x600 is default (only width can be defined in %).
| |
| * '''color''' - events color (hex value. e.g. 5229A3) - only color used in [http://www.google.com/calendar/embedhelper Google's wizard] can be used.
| |
| :* 795548, E67C73, D50000, F4511E, EF6C00, F09300, 009688, 7CB342, C0CA33, F6BF26, 33B679, 4285F4, 039BE5, 3F51B5, 7986CB, B39DDB, 616161, A79B8E, AD1457, D81B60, 8E24AA, 9E69AF
| |
| * '''bgcolor''' - background/border color (hex value. e.g. ffcc66)
| |
| * '''weekstart''' - the first day of the week (1-7)
| |
| * '''dates''' - a range between YYYYMMDD/YYYYMMDD
| |
| * '''lang''' - interface language (en, fr, ru, etc).
| |
| * '''view''' - default view MONTH (default)/WEEK/AGENDA)
| |
| * '''timezone''' - time zone defined as a string like "America/New_York", should be automatically detected if omitted
| |
| * '''pvttk''' - This key is used to access non-public calendars. All calendars must be on a single account. [https://support.google.com/calendar/answer/1631300?hl=en Deprecated by Google]
| |
| * '''style''' - The style attribute to be applied to the iframe.
| |
| * You can also trigger parts of the interface on and off:
| |
| ** '''showtitle''' - true (default)/false - shows the title
| |
| ** '''shownav''' - true (default)/false - shows navigation arrows
| |
| ** '''showdate''' - true (default)/false - shows date
| |
| ** '''showtabs''' - true (default)/false - shows view tabs
| |
| ** '''showcals''' - true (default)/false - shows a calendar list
| |
| ** '''showprint''' - true (default)/false - shows a print icon
| |
| ** '''showtz''' - true (default)/false - shows the timezone
| |
| ** '''border''' - true/false (default) - draws a thin border around the widget
| |
| * '''app''' - for [https://www.google.com/apps/ Google Apps for Your Domain] Calendars, specify the domain name for the account (<code><nowiki>https://www.google.com/calendar/hosted/</nowiki>'''yourdomain.com'''/render</code>)
| |
| | |
| == Sample result ==
| |
| Displaying 2 different calendars:
| |
| * [https://www.nycresistor.com/ NYCResistor events]
| |
| * US Holidays
| |
| {{#widget:Google Calendar
| |
| |id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com
| |
| |color=2952A3
| |
| |id=usa@holiday.calendar.google.com
| |
| |color=B1440E
| |
| |title=NYCResistor, US Holidays
| |
| }}
| |
| {{Comments}}
| |