Difference between revisions of "User:Torley Linden/Sandbox"

From Second Life Wiki
Jump to navigation Jump to search
(Blanked the page)
Line 1: Line 1:
This widget allows you to add [http://www.google.com/ig/directory?synd=open Google Gadgets] to your wiki page.


To insert this widget, use the following code:
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
|url=http://www.daylightmap.com/clouds/cloud_gadget.xml&amp;up_remember_location=1&amp;up_show_daylight=1&amp;up_lat=10&amp;up_lon=-20&amp;up_zoom=1&amp;up_type=S&amp;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 "&amp;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)
== Sample result ==
{{#widget:{{PAGENAME}}
|url=http://www.daylightmap.com/clouds/cloud_gadget.xml&up_remember_location=1&amp;up_show_daylight=1&amp;up_lat=10&amp;up_lon=-20&amp;up_zoom=1&amp;up_type=S&amp;up_msg_dismissed=0
|title=Clouds
|width=600
|height=300
}}
{{Widget
|author=Sergey Chernyshev
|provider=Google Gadgets
|providerurl=http://www.google.com/ig/directory?synd=open
|addedon=now
}}

Revision as of 16:13, 16 November 2009