Widget:Kalender: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
K (test html-only)
K (default height and width of 100%, parameter mode)
Zeile 5: Zeile 5:
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
  
   <nowiki>{{#widget:Kalender|width=...|height=...}}</nowiki>
+
   <nowiki>{{#widget:Kalender|width=...|height=...|mode=...}}</nowiki>
  
 
== Parameters ==
 
== Parameters ==
* '''height''', '''width''': height and width of the map widget. Default height and width is <tt>400px</tt>.
+
* '''height''', '''width''': height and width of the map widget. Default height and width is <tt>100%</tt>.
 +
* '''mode''': display mode, may be one of <tt>MONTH</tt> (default), <tt>WEEK</tt> or <tt>AGENDA</tt>
  
</noinclude><iframe src="https://www.google.com/calendar/htmlembed?showTitle=0&showPrint=0&showTabs=0&showCalendars=0&mode=AGENDA&height=400&wkst=2&hl=de&bgcolor=%23FFFFFF&src=stratum0%2Bgoogle%40rohieb.name&color=%232952A3&ctz=Europe%2FBerlin" style=" border-width:0 " width="<!--{$width|escape:'html'|default:'400px'}-->" height="<!--{$height|escape:'html'|default:'400px'}-->" frameborder="0" scrolling="no"></iframe>
+
</noinclude><iframe src="https://www.google.com/calendar/htmlembed?showTitle=0&showPrint=0&showTabs=0&showCalendars=0&mode=<!--{$mode|escape:'html'|default:'MONTH'}-->&height=400&wkst=2&hl=de&bgcolor=%23FFFFFF&src=stratum0%2Bgoogle%40rohieb.name&color=%232952A3&ctz=Europe%2FBerlin" style="border-width:0" width="<!--{$width|escape:'html'|default:'100%'}-->" height="<!--{$height|escape:'html'|default:'100%'}-->" frameborder="0" scrolling="no"></iframe>

Version vom 28. März 2012, 02:13 Uhr

This widget allows you to add the public Stratum 0 Google Calendar to your wiki page.

Using this widget

To insert this widget, use the following code:

 {{#widget:Kalender|width=...|height=...|mode=...}}

Parameters

  • height, width: height and width of the map widget. Default height and width is 100%.
  • mode: display mode, may be one of MONTH (default), WEEK or AGENDA

<iframe src="https://www.google.com/calendar/htmlembed?showTitle=0&showPrint=0&showTabs=0&showCalendars=0&mode=&height=400&wkst=2&hl=de&bgcolor=%23FFFFFF&src=stratum0%2Bgoogle%40rohieb.name&color=%232952A3&ctz=Europe%2FBerlin" style="border-width:0" width="" height="" frameborder="0" scrolling="no"></iframe>