Widget:Google Books: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(95 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
This widget allows you to embed '''[http://code.google.com/apis/books/docs/preview-wizard.html Google Books]''' on your wiki page. | This widget allows you to embed '''[http://code.google.com/apis/books/docs/preview-wizard.html Google Books]''' on your wiki page. | ||
Line 12: | Line 9: | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''. | To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''. | ||
</noinclude> | </noinclude> | ||
<includeonly> | |||
<script type="text/javascript" src="//books.google.com/books/previewlib.js"> | |||
</script> | |||
<script type="text/javascript"> | |||
width=<!--{$width|escape:'html'|default:'600'}-->; | |||
height=<!--{$height|escape:'html'|default:'500'}-->; | |||
var welk='<!--{$id}-->'; | |||
GBS_insertEmbeddedViewer(welk,width,height); | |||
</script> | </script> | ||
</includeonly> | </includeonly> |
Latest revision as of 18:53, 15 August 2020
This widget allows you to embed Google Books on your wiki page.
Created by Arv
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Google Books.