Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Widget:Google Calendar"
(Created page with "<noinclude> This widget allows you to add '''[http://www.google.com/calendar/embedhelper Google Calendar]''' widget to your wiki page. It was originally created by [http://ww...") |
|||
Line 6: | Line 6: | ||
== Using this widget == | == Using this widget == | ||
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Google_Calendar widget description page on MediaWikiWidgets.org]. | For information on how to use this widget, see [http://www.mediawikiwidgets.org/Google_Calendar widget description page on MediaWikiWidgets.org]. | ||
+ | |||
+ | This should display the USA holidays calendar | ||
+ | |||
+ | {{#widget:Google Calendar | ||
+ | |id=si8ocqn3duj6f8int3h57jm8qeunplut@import.calendar.google.com | ||
+ | |color=528800 | ||
+ | |id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com | ||
+ | |color=2952A3 | ||
+ | |id=usa@holiday.calendar.google.com | ||
+ | |color=B1440E | ||
+ | |title=TechPresentations, NYCResistor, US Holidays | ||
+ | }} | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | ||
</noinclude><includeonly><iframe src="//www.google.com/calendar/<!--{if isset($app)}-->hosted/<!--{$app|escape:'urlpathinfo'}-->/<!--{/if}-->embed?<!--{if isset($title)}-->title=<!--{$title|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if isset($pvttk)}-->pvttk=<!--{$pvttk|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if is_array($id)}--><!--{foreach from=$id item=i}-->src=<!--{$i|escape:'urlpathinfo'}-->&<!--{/foreach}--><!--{else}-->src=<!--{$id|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if is_array($color)}--><!--{foreach from=$color item=c}-->color=%23<!--{$c|escape:'urlpathinfo'}-->&<!--{/foreach}--><!--{else}-->color=%23<!--{$color|escape:'urlpathinfo'}-->&<!--{/if}-->height=<!--{$height|escape:'urlpathinfo'|default:600}-->&showTitle=<!--{if isset($showtitle) and not $showtitle}-->0<!--{else}-->1<!--{/if}-->&showNav=<!--{if isset($shownav) and not $shownav}-->0<!--{else}-->1<!--{/if}-->&showDate=<!--{if isset($showdate) and not $showdate}-->0<!--{else}-->1<!--{/if}-->&showTabs=<!--{if isset($showtabs) and not $showtabs}-->0<!--{else}-->1<!--{/if}-->&showCalendars=<!--{if isset($showcals) and not $showcals}-->0<!--{else}-->1<!--{/if}-->&showPrint=<!--{if isset($showprint) and not $showprint}-->0<!--{else}-->1<!--{/if}-->&showTz=<!--{if isset($showtz) and not $showtz}-->0<!--{else}-->1<!--{/if}-->&wkst=<!--{$weekstart|escape:'urlpathinfo'|default:1}-->&hl=<!--{$lang|escape:'urlpathinfo'|default:en}-->&mode=<!--{$view|escape:'urlpathinfo'|default:MONTH}-->&<!--{if isset($timezone)}-->ctz=<!--{$timezone|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if isset($bgcolor)}-->bgcolor=%23<!--{$bgcolor|escape:'urlpathinfo'}--><!--{/if}-->" width="<!--{$width|escape:'html'|default:'100%'}-->" height="<!--{$height|escape:'html'|default:600}-->" frameborder="0" scrolling="no"<!--{if isset($border)}--> style="border: solid 1px #777"<!--{/if}--><!--{if isset($style)}--> style="<!--{$style|escape:'html'}-->"<!--{/if}-->></iframe></includeonly> | </noinclude><includeonly><iframe src="//www.google.com/calendar/<!--{if isset($app)}-->hosted/<!--{$app|escape:'urlpathinfo'}-->/<!--{/if}-->embed?<!--{if isset($title)}-->title=<!--{$title|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if isset($pvttk)}-->pvttk=<!--{$pvttk|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if is_array($id)}--><!--{foreach from=$id item=i}-->src=<!--{$i|escape:'urlpathinfo'}-->&<!--{/foreach}--><!--{else}-->src=<!--{$id|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if is_array($color)}--><!--{foreach from=$color item=c}-->color=%23<!--{$c|escape:'urlpathinfo'}-->&<!--{/foreach}--><!--{else}-->color=%23<!--{$color|escape:'urlpathinfo'}-->&<!--{/if}-->height=<!--{$height|escape:'urlpathinfo'|default:600}-->&showTitle=<!--{if isset($showtitle) and not $showtitle}-->0<!--{else}-->1<!--{/if}-->&showNav=<!--{if isset($shownav) and not $shownav}-->0<!--{else}-->1<!--{/if}-->&showDate=<!--{if isset($showdate) and not $showdate}-->0<!--{else}-->1<!--{/if}-->&showTabs=<!--{if isset($showtabs) and not $showtabs}-->0<!--{else}-->1<!--{/if}-->&showCalendars=<!--{if isset($showcals) and not $showcals}-->0<!--{else}-->1<!--{/if}-->&showPrint=<!--{if isset($showprint) and not $showprint}-->0<!--{else}-->1<!--{/if}-->&showTz=<!--{if isset($showtz) and not $showtz}-->0<!--{else}-->1<!--{/if}-->&wkst=<!--{$weekstart|escape:'urlpathinfo'|default:1}-->&hl=<!--{$lang|escape:'urlpathinfo'|default:en}-->&mode=<!--{$view|escape:'urlpathinfo'|default:MONTH}-->&<!--{if isset($timezone)}-->ctz=<!--{$timezone|escape:'urlpathinfo'}-->&<!--{/if}--><!--{if isset($bgcolor)}-->bgcolor=%23<!--{$bgcolor|escape:'urlpathinfo'}--><!--{/if}-->" width="<!--{$width|escape:'html'|default:'100%'}-->" height="<!--{$height|escape:'html'|default:600}-->" frameborder="0" scrolling="no"<!--{if isset($border)}--> style="border: solid 1px #777"<!--{/if}--><!--{if isset($style)}--> style="<!--{$style|escape:'html'}-->"<!--{/if}-->></iframe></includeonly> |
Revision as of 11:53, 11 March 2014
This widget allows you to add Google Calendar widget to your wiki page.
It was originally created by Sergey Chernyshev for upcoming conference calendar on TechPresentations.org
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
This should display the USA holidays calendar
{{#widget:Google Calendar |id=si8ocqn3duj6f8int3h57jm8qeunplut@import.calendar.google.com |color=528800 |id=p2m2av9dhrh4n1ub7jlsc68s7o@group.calendar.google.com |color=2952A3 |id=usa@holiday.calendar.google.com |color=B1440E |title=TechPresentations, NYCResistor, US Holidays }}
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Google Calendar article.