Widget:Google Gadget
From CruisersWiki
(Difference between revisions)
Lighthouse (Talk | contribs) (New Widget) |
Lighthouse (Talk | contribs) (Added info) |
||
Line 5: | Line 5: | ||
== Using this widget == | == Using this widget == | ||
- | + | To insert this widget, use the following code: | |
+ | |||
+ | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
+ | |url=http://www.daylightmap.com/clouds/cloud_gadget.xml&up_remember_location=1&up_show_daylight=1&up_lat=10&up_lon=-20&up_zoom=1&up_type=S&up_msg_dismissed=0 | ||
+ | |title=Clouds | ||
+ | |width=600 | ||
+ | |height=300 | ||
+ | }}</nowiki> | ||
+ | |||
+ | == Parameters == | ||
+ | To get the parameters, click "Add to your webpage" button on a gadget page and configure gadget settings (on the right side of the wizard), then click on the "Get the code" button. | ||
+ | |||
+ | There are a few parameters you should copy from the code generated by the configuration wizard. | ||
+ | * '''url''' - (required) copy everything after the "?url=" up till "&synd=open" (widget url itself and all up_* url parameters). | ||
+ | * '''title''' - title of the gadget | ||
+ | * '''width''' - widget width (300 is default) | ||
+ | * '''height''' - widget height (265 is default) |
Revision as of 20:25, 19 March 2010
This widget allows you to embed Google Gadgets on a wiki page.
Created by Sergey Chernyshev
Using this widget
To insert this widget, use the following code:
{{#widget:Google Gadget |url=http://www.daylightmap.com/clouds/cloud_gadget.xml&up_remember_location=1&up_show_daylight=1&up_lat=10&up_lon=-20&up_zoom=1&up_type=S&up_msg_dismissed=0 |title=Clouds |width=600 |height=300 }}
Parameters
To get the parameters, click "Add to your webpage" button on a gadget page and configure gadget settings (on the right side of the wizard), then click on the "Get the code" button.
There are a few parameters you should copy from the code generated by the configuration wizard.
- url - (required) copy everything after the "?url=" up till "&synd=open" (widget url itself and all up_* url parameters).
- title - title of the gadget
- width - widget width (300 is default)
- height - widget height (265 is default)